MGCCapstoneReconOpenItemTmp
TempDB working set behind the open-item population (D-CAP-B8): the matching workbench's grid datasource and the engine's per-account working set, filled set-based by MGCCapstoneReconOpenItemReader and NEVER persisted; the ledger stays the single source of amounts, and this table is a per-session projection of it that exists so a form can sort and page and an engine can seek on amount without re-scanning GeneralJournalAccountEntry per probe. One row per candidate leg: the GeneralJournalAccountEntry reference plus display columns (voucher, date, amounts, document reference, text, age) and two engine columns beyond the plan's list, both recorded decisions; AmountMST, because matching and tolerance arithmetic evaluate in accounting currency (the tolerance EDT extends AmountMST) while AmountCur is what the specialist reads; and LedgerDimension, because the full-dimension-equality criterion (B1) compares combination references set-based instead of strings. HeldByGroupId doubles as the population's membership marker: blank means free; a match-group id badges a leg proposed by an Open group (still in the population, visibly spoken for); the engine marks legs it consumes during a run; including simulate runs, where the mark is the run id; so no leg is counted twice. Legs held by committed or disposed groups are excluded by the reader and never appear here at all. FinancialTagValue is the tag column (B2). The FinTag module is not among the Capstone descriptor's references, so the column fills blank in P0 and a tag-equality rule honestly produces no hits; the reader's enrichment seam fills it the release the reference lands, without schema churn.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
LedgerEntryRef | RefRecId | No | The GeneralJournalAccountEntry record this row projects; the single source of the leg's amounts (D-CAP-B8). |
MainAccountId | MainAccountNum | No | |
Voucher | Voucher | No | |
TransDate | TransDate | No | |
AmountCur | AmountCur | No | The leg's amount in transaction currency; what the specialist reads in the grid. |
CurrencyCode | CurrencyCode | No | |
AmountMST | AmountMST | No | The leg's amount in accounting currency; the basis every matching and tolerance comparison evaluates on (B12; deterministic, one comparison basis). |
LedgerDimension | RefRecId | No | The leg's full account-and-dimension combination reference; what the full-dimension-equality criterion compares (B1). |
DocumentReference | DocumentNumLarge | No | The journal entry's document number; the reference the document/reference criterion matches on (B1). |
Txt | TransactionTextLarge | No | |
AgeDays | int | No | Days between the leg's accounting date and the population's as-of date, computed on fill (B5). |
FinancialTagValue | str | No | The leg's value for the financial tag a rule names (B2). Blank until the FinTag module reference lands; a tag-equality rule then matches on this column. |
DimensionDisplayValue | DimensionDisplayValue | No | The leg's dimension combination rendered for display, filled by the reader's enrichment pass. |
HeldByGroupId | MGCCapstoneReconMatchGroupId | No | Blank when the leg is free. A match-group id badges a leg proposed by an Open group; during an engine run the mark also consumes legs so nothing is counted twice. |