MGCCapstoneReconBalanceSnapshot
Series-substrate balance snapshot (A15, D-CAP-A3): the materialized general-ledger balance per legal entity (SaveDataPerCompany), main account and fiscal period, with the staleness stamp and the nightly self-verify state. Every Capstone read surface; the board, the workbench, the CAP-002/003/004 consumers; reads THIS table; direct ledger scans live only in the refresh engine and in voucher drills. One row per account and period, enforced by the AccountPeriodIdx alternate key: the refresh engine updates the row in place and re-stamps CapturedDateTime, it never appends history. State starts NotRefreshed (enum value 0) and moves Refreshed on every refresh; the nightly self-verify re-derives a sample from the ledger and sets Verified or Drift, and Drift raises an execution exception (A15). Staleness is a comparison, not a stored flag: isStale() measures now minus CapturedDateTime against the parameters SLA, so a row can never carry a stale flag that is itself stale. Snapshot rows are DERIVED data, rebuildable from the ledger at any time, so deletion is not blocked here; except that an instance's opening-balance reference restricts deletion of the row it points at (relation on MGCCapstoneReconInstance), because what a signer sealed must stay resolvable (A9, A12).
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
MainAccount | RefRecId | Yes | |
FiscalPeriodEnd | TransDate | Yes | The last day of the fiscal period this balance is materialized for. With the main account and the legal entity it identifies the snapshot. |
FiscalPeriodName | str | No | The fiscal period's display name, carried for the board and the binder so a reader never has to derive it from the date. |
Balance | AmountMST | No | The general-ledger balance of the account at period end, in accounting currency, as of the captured instant below. |
CapturedDateTime | TransDateTime | No | When the refresh engine last recomputed this balance from the ledger. The staleness stamp on every board surface is now minus this instant, measured against the SLA in Capstone parameters (A15). |
State | MGCCapstoneReconSnapshotState | No | The refresh and self-verify state (A15). Refresh sets Refreshed; the nightly self-verify re-derives a sample from the ledger and sets Verified when the stored balance matches or Drift when it does not; and Drift raises an execution exception. |
VerifiedDateTime | TransDateTime | No | When the nightly self-verify last re-derived this balance from the ledger (A15). |