Magidoc

FinanceQueueCensusEntry
Object

One addressable Finance work queue: its identity, its numbers, and the two routes out of it — its own address (financeQueue=<id>) and the record-browser drilldown that reproduces its population inside its section.

Fields

#

id

Non-null

Stable queue identity. Doubles as the financeQueue address segment and the Overview work-queue bucket key, so a drill from Overview and a shared queue URL name the same thing.

label

Non-null

description

Non-null

group

Non-null

Rhythm group: one of approvals, billing, close.

section

Non-null

Finance section holding the queue's records — where the drilldown lands.

count

Non-null

Documents waiting in the queue. Exact — the census counts every one of them.

countIsApproximate

Non-null

Always false: the census counts exactly, so no count it answers is a floor.

total

Base-currency value of the waiting documents, or null for queues that carry no money total.

controlTotal

The ledger position this queue states beside — not instead of — total, or null for the queues whose money is only their own documents'.

Open accounts receivable is the one queue carrying both: total sums the invoices count counts, and this is the A/R open-item position, which also carries issued advance bills and customer-named journals posted straight to the control, net of unapplied receipts and open credit memos. Rendered on its own labelled line so each figure names the population it totals.

oldestAt

When the oldest waiting document entered the queue, or null when the queue is clear.

sourceExists

Non-null

False when the queue's source collection holds no document at all for this workspace.

A count of zero is either a backlog worked down or a source nothing has ever been written to, and nothing else on the entry tells the two apart — so a new workspace read "Clear" on all ten queues. Rendered as "no yet" rather than as a cleared backlog.

sourceNoun

Non-null

What the queue counts, as a plural noun, for the card with none of them.

capabilitySection

The (section, action) pair the queue's own act asks of the capability table — null for a watchlist queue that carries no act of its own.

capabilityAction

compositeOf

[String !]!
Non-null

The queue ids whose documents this queue counts again, empty when its population is its own.

A payables queue is the union of the two section queues that hold the same records, so anything summing queues must drop the composites or count those documents twice. Surfaced rather than hardcoded on the client so a new composite is a registry edit, not a client one.

viewerCanAct

Non-null

False when the viewer holds no grant for the queue's act. The queue still lists: representing every approval affordance is the point of the surface, and the act itself lives on the record.

drilldownLabel

Non-null

drilldownStatus

drilldownSourceStatuses

[String !]!
Non-null

drilldownOpenItemsOnly

Non-null

True when the drilldown narrows its section to open items — posted documents still carrying a balance. The narrowing a status set cannot spell, for the watchlist queue whose population is that predicate.

Usages

#

References

#