MGCCapstoneReconSpecStatement
Balance sheet specification statement header (D5): account x as-of date x version, with the trial balance it tied against, the itemized detail total, the tie verdict and the named delta. LIFECYCLE (D-CAP-D6): a statement generates as Draft; detail = TB issues it (Issued, hash stamped, prior version Superseded); detail != TB leaves the Draft carrying TieVerdict::Failed and the named delta; nothing publishes on a tie failure, and the finding is raised (D-CAP-D4, D12). Regeneration inserts version N+1 under the same StatementId. IMMUTABILITY: an Issued version accepts exactly one change; Status to Superseded when its successor issues; a Superseded version accepts none; only a Draft may be deleted. Enforced in validateWrite/update and validateDelete/delete, belt and braces. insert() enforces the birth state; Draft, verdict NotEvaluated; and update() holds every Draft-to- Issued promotion to the stored figures actually tying, so a Pass cannot be inserted or promoted as a mere claim. ATTACHMENT (D12): InstanceRef names the CAP-001 reconciliation instance this statement substantiates, and it is the switch that arms the specification hard-tie at sign-off (MGCCapstoneReconSignOffService::assertSpecificationTied). The generator sets it when it is handed an instance; otherwise it is written by exactly one governed act, attachToInstance, reached through the secured menu item MGCCapstoneReconSpecAttachInstance on the statements form. The field stays AllowEdit No deliberately; a signed artifact's provenance must not be re-pointable by typing; and immutability admits the write ONE WAY ONLY, blank to a value (isAttachOnly), because the reference sits outside the canonical payload the rendered hash was stamped over: attaching records where the evidence was filed, it does not alter the evidence. The wave-1 enum note is honored at BOTH layers: the enum's 0-value is NotEvaluated, so a default-initialized row shows no verdict, and every generate pass sets the verdict explicitly.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
StatementId | MGCCapstoneReconStatementId | Yes | Identifier of a balance sheet specification statement. Together with the version number it names exactly one statement version; issued versions are immutable. |
Version | int | Yes | The statement version. Regeneration creates version N+1; issued versions are immutable and superseded, never replaced (D-CAP-D6). |
MainAccount | RefRecId | Yes | |
AsOfDate | TransDate | Yes | |
TBBalance | AmountMST | No | |
DetailTotal | AmountMST | No | The sum of the statement's itemized open detail lines. Must equal the trial balance or the statement hard-fails with a named delta (D5, D-CAP-D4). |
TieVerdict | MGCCapstoneReconTieVerdict | No | |
TieDelta | MGCCapstoneReconTieDelta | No | Named delta on a balance sheet specification statement: itemized detail total minus trial balance, in accounting currency. Any non-zero delta is a hard-fail finding; the statement is not published until the delta is resolved. |
Status | MGCCapstoneReconStatementStatus | No | |
TieBasis | str | No | |
AgingRunRef | RefRecId | No | The aging snapshot run the statement's lines were built from; the exact snapshot an auditor can name (D8). |
InstanceRef | RefRecId | No | The CAP-001 reconciliation instance this statement substantiates and attaches to (D12). |
IssuedDateTime | TransDateTime | No | |
IssuedBy | UserId | No | |
RenderedHash | MGCCapstoneReconHash | No | SHA-256 over the statement's canonical content, stamped at issue. The binder's hash-stability claim starts here: the same issued version always hashes the same (scenario D-8). |