BillingStatusReport Object
The billing status report as a page: a capped list of rows beside the aggregates of the population they were cut from. getBillingStatusReport serves the same rows uncapped, for the CSV export.
Fields
#
rows
The detail page: largest amount first, then oldest, capped at the reports surface's drill-down limit, and narrowed to the requested status before that cap is taken. A page, not the population — read totalRowCount for the figure beside it.
statusCounts
How many rows of each status the whole filtered population holds, taken before the status narrowing and before the cap. The report's blocker headline and its status-bucket count are statements about the books rather than about the page, so they read these — counted from a capped page they would fall silently as the workspace grew. They are also the labels the surface's status menu offers, so picking one never shrinks the menu it was picked from.
amountTotal
What the Amount column adds up to over the population totalRowCount counts — the rows the filters and the status narrowing leave, summed before the cap. A register printing a money column and no total leaves its reader unable to tell one rollup of the same book from another, and a total summed from the capped page instead would state a page's figure under a population's label and fall silently as the books grew.
Stated in the workspace's base unit, and null where that unit cannot be read — a workspace that has never set finance up — or where a selected row is not stated in it, such as a foreign-currency invoice balance whose home conversion this report does not carry. The surface renders absent money as a dash, which is the only honest answer there: no register may print a figure added across money units.
totalRowCount
Every row the filters and the status narrowing leave, counted before the cap — the population amountTotal above is summed over. This count is what a capped page owes its reader: the surface names the page against it ("N of M source rows") rather than reporting an exactly-round page as a measurement.
Usages
#
References
#
- Field getBillingStatusReportPage from Query
BillingStatusCount