Skip to main content

Configuring reports

Reports have no settings. What each person can run is decided by the same two things that decide everything else: permissions and apps.

Who can run what​

ReportNeedsBelongs to
Trial balanceledger.read—
Sales by customer / item / month, AR agingcustomer_invoice.readSales, with Receivables on
Purchases by supplier / item / month, AP agingvendor_bill.readPurchasing
Stock on hand, Stock movementsstock.readInventory
Tax collected by authoritytax.readTax

The check runs on the server twice: the catalogue is filtered to what somebody may run, and running one by name is refused again. A report is not hidden — its numbers are never produced.

What a report reads​

Every report reads the same tables the screens read, through the same services where one exists. The trial balance is the ledger's own; AR and AP aging are the aging screens' own. That is deliberate: a report that ran its own query would be a second definition of "overdue", and the two would disagree the day somebody changed one.

Limits​

  • A page is at most 200 rows, and the report says how many there are in total. Reports page in SQL rather than fetching everything.
  • Money is never added across currencies. A report groups by currency and shows each on its own row.
  • Credit memos are subtracted from sales figures, never counted as sales, so a report and the ledger agree.

Adding one​

A report is a registration in the module that owns the data — key, permission, parameters and a runner returning columns and rows; it is a change to the product rather than something configured here. These are the Standard reports tab of Reports. Reports people build themselves, without a change to the product, are the Custom reports tab beside it, set up as Custom reports: setting them up describes.