Expand description
Reports of the lists of a business application: an action that lays out a list and shows it in the document viewer, from where it prints and exports.
use ravenrs_app::{Application, EntityInfo, FieldInfo, FieldKind};
use ravenrs_app_report::ReportModule;
use ravenrs_app_ui::SystemModule;
let account = EntityInfo::new("Account")
.navigation("Records")
.field(FieldInfo::new("id", FieldKind::Integer).key())
.field(FieldInfo::new("name", FieldKind::Text));
let application = Application::builder("Accounts")
.module(SystemModule::new())
.module(ReportModule::new("Report"))
.entity(account)
.build()?;Structs§
- Analytics
Module - Panels people put together and keep. Storage has to know
analytics_entities. - Report
Module - Gives every list an action that shows it as a report.
- Report
Words - What the screens of stored reports say.
- Stored
Reports Module - Reports people create, keep and run: the records, showing and designing them, and showing a list
in one. Storage has to know
report_entity.
Constants§
- ANALYTICS_
DASHBOARD - The entity of the panels people keep.
- ANALYTICS_
TILE - The entity of their tiles.
- PT_BR
- Their words in Brazilian Portuguese, as a difference for
translation. - REPORT
- The id of the action that shows the report of a list.
- REPORT_
DEFINITION - The entity of the reports people keep.
Functions§
- analytics_
entities - The entities of panels, which storage has to know. Their tiles are edited on the panel’s own form, so the designer is the screens every record gets.
- report_
entity - The entity of stored reports, which storage has to know. Who can see or change one goes by the permissions on it, as for any other record.