MGCCapstoneReconTieOutLine
Comparison lines of a tie-out run (C1, C16): the consumed subledger-side value against the GL balance per scope cell, with the difference, the per-line green/red verdict, and rule-hit provenance; the rule id plus the evaluated values, stamped by the engine, so an auditor can re-derive the verdict from the line itself (S-CAP-C4). The scope keys are generic strings so every subledger reuses the shape: for fixed assets they carry the book and the FA group of the D-CAP-C4 default granularity, with the comparison settled per main account; the finest cut the general ledger itself can verify, since GL balances know the account but not the book or group. When several cells feed one account the line says so and its evaluated values carry the per-cell breakdown. Lines are engine output and evidence (C10): written only by the run engines through the run service, never edited; updates are refused outright, and deletion happens solely by the parent run's cascade, which the run permits only while it is unreferenced. Once a CAP-001 instance references the run, the lines are as immutable and permanent as the header (D-CAP-C6, invariant 5).
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
TieOutRunId | MGCCapstoneReconTieOutRunId | Yes | The tie-out run this line belongs to (C10). |
ScopeKey1 | Description | No | First scope key of the comparison cell; the FA book for fixed-asset runs (D-CAP-C4). "Multiple" when several cells feed the account; the evaluated values carry the breakdown. |
ScopeKey2 | Description | No | Second scope key of the comparison cell; the FA group for fixed-asset runs (D-CAP-C4). |
MainAccountId | MainAccountNum | No | The general-ledger account the cell settles against; the finest cut the ledger itself can verify (C1). |
SubledgerValue | AmountMST | No | The consumed subledger-side value; read from native data, never recomputed by Capstone (C2, scenario C-2). |
GLValue | AmountMST | No | The general-ledger balance of the account as of the run's date, in accounting currency. |
Difference | MGCCapstoneReconDifferenceAmount | No | Subledger value minus GL value. Non-zero renders the line red and its difference lines explain the amount (C1, C11). |
RuleId | MGCCapstoneReconRuleId | No | The deterministic rule that produced this line (C16, S-CAP-C4). Same inputs, same output; the id plus the evaluated values let an auditor attest the reasoning. |
EvaluatedValues | FreeTxt | No | The values the rule evaluated, as it saw them (C16): both sides, the cells, the arithmetic. |
State | MGCCapstoneReconTieOutState | No | Green when the cell ties, red when it differs. |