Magidoc

ArStatusReport
Object

The AR status (collections) report as a page: the money as full-population bucket totals, the detail as a capped list of rows. Same population, two shapes — which is what lets the list be a page at all. getArStatusReport serves the same rows uncapped and with no totals beside them.

Fields

#

asOf

Non-null

When the open balances were read: the filters' end bound, or now where the read carries none — the same value ArAgingReport.asOf is cut at, because the surface hands both AR reports one date control. A date bound on this report is that cut and never a row filter: an open balance is not a dated event, and matching rows by document date drops every journal-sourced balance, which carries no document at all.

buckets

Non-null

Aging-bucket totals over the whole filtered population, derived exactly as ArAgingReport.buckets is — so the two AR surfaces state one balance and both tie to the GL AR control. The row cap never touches these, which is what a reader summing money must read.

rows

Non-null

The detail page: largest balance first, then oldest, capped at the aging drill-down's limit, and narrowed to the requested status before that cap is taken. A page, not the population — sum buckets for any total, and count their transactionCount for the figure beside it.

statusOptions

[String !]!
Non-null

Every status label the whole population offers, sorted, for the surface's status filter to offer. Taken before both the status narrowing and the row cap, so picking one never shrinks the menu it was picked from and a status carried only by small balances is still on it.

totalRowCount

Non-null

How many rows the page was cut from: the population the requested status leaves, counted before the cap. Both halves of "N of M" then describe the same status the reader picked, so a surface can say a page is a page rather than headlining the cap as a measurement.

Usages

#

References

#

  • Field getArStatusReportPage from Query