list_gl_open_items
One page of the AR/AP subledger (member read).
direction filters server-side (ZCT-577) — omit it for both. The screen used to
filter the fetched page in the browser, which made the AR chip drop rows and the
total count both directions.
as_of (ZCT-577) reconstructs each item's open amount from posted journal lines
dated on or before that date, instead of reading today's cached amount. Items are
considered regardless of their current status — one settled since that date was
open on it — so status is refused alongside it rather than silently ignored: a
filter that appears to apply and does not is worse than an error. original_amount
and status on each row remain the item's own, which are current facts, not
as-of ones; the screen says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| limit | No | ||
| offset | No | ||
| status | No | ||
| direction | No | ||
| company_id | Yes |