cardinal

Reports

Report Builder views, code reports, number cards and charts.

Every report runs through the same permission checks as a list. A user sees only rows and columns they could read anyway. Tenants write no SQL.

KindMade byOpens at
Report BuilderAny user with the report right, in the desk/desk/<rectype>/view/report/<name>
Code ReportAn app, in Elixir/desk/query-report/<name>
Number CardSystem ManagerOn a workspace
Dashboard ChartSystem ManagerOn a workspace or a dashboard

Report Builder

Open a list and switch to the Report Builder tab, for example /desk/sales-invoice/view/report.

Pick columns, including columns of child tables. Add filters and a sort.

Group by a field to get a count per group, plus a sum or average of a number column. The view shows a totals row.

Save As to keep it as a Report. Users with write on Report can Save changes back to it later.

A Report's Roles table limits who can run it. Empty means anyone with the report right on its RecType.

Code reports

Apps ship code reports such as ERP's General Ledger and Trial Balance. Their filters can be Links, dates, date ranges and multi-select Links. A result can carry tree rows, a totals row, summary cards and a chart. Export to CSV is on the report's toolbar.

A report marked Prepared Report runs as a background job, as the user who asked. The desk shows the last result for the same filters and polls until the new one is ready. The result is stored as a private File.

Number cards and charts

Number Card fieldExample
RecTypeSales Invoice
FunctionSum
Based Onoutstanding_amount
Filters[["docstatus", "=", 1], ["status", "=", "Overdue"]]
Warning At100000

Dynamic Filters take values from the viewer, such as their default Company, so each user sees their own number.

A Dashboard Chart's source is Count, Sum or Average over a date field, Group By a field, a Report, or a custom source an app provides. Add both to a workspace.

Exports

With the export right, Export in a list or report writes an Excel or CSV file of the columns on screen and the current filters. See Import and export.

On this page