MGCEarmarkReconciliationRunStaging
The data-management staging table behind MGCEarmarkReconciliationRunEntity.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
DefinitionGroup | DMFDefinitionGroupName | Yes | |
ExecutionId | DMFExecutionId | Yes | |
IsSelected | DMFIsSelected | No | |
TransferStatus | DMFTransferStatus | No | |
ReconciliationRunId | MGCEarmarkReconciliationRunId | No | The identifier of one accrual reconciliation run - the logged comparison of the accrual general ledger balance, by main account, dimension and period and in both accounting and transaction currency, against the sum of open posted accrual transactions by deal, counterparty and period. It is allocated from the Reconciliation run ID number sequence, with a generated fallback while sequences are unconfigured. The run log is what explains a variance after the fact, listing the journal-pending and unaccrued transactions that account for it, so the run ID is provenance on evidence and its sequence may never be lowered. Implements requirement C20. |
PeriodFrom | TransDate | No | |
PeriodTo | TransDate | No | |
ScopeDealId | MGCEarmarkDealId | No | The identifier of the Earmark deal. It is allocated from the Deal ID number sequence registered on the Earmark parameters record, or typed by the deal author when no sequence is configured. The deal ID is the deal's natural key: it is quoted on claim statements, carried on every accrual instance frozen from the deal, and copied into migrated records, so it is stored on every dependent row alongside the record ID rather than being re-derived. Implements requirement A3. |
ScopeCounterparty | MGCEarmarkAccountRelation | No | The customer, vendor, customer group or vendor group that a deal targeting row or a posting profile row selects, read according to that row's account code and the deal's module. It is sixty characters, matching the item relation type rather than the twenty-character standard relation type, so that the two halves of a selector pair behave identically and neither truncates a value the other would keep. It is mandatory for every account code except All, which must leave it blank. Implements requirements A5 and A10. |
ScopeMainAccount | MainAccountNum | No | |
GLBalanceMST | AmountMST | No | |
SubLedgerBalanceMST | AmountMST | No | |
VarianceMST | MGCEarmarkReconVariance | No | The unexplained difference between the accrual general ledger balance and the sum of open posted accrual transactions for a reconciliation run, in the accounting currency. It extends the standard accounting-currency amount type so that it inherits currency formatting and rounding. It is what is left after the run's explained buckets - journals still pending, transactions not yet accrued, open execution exceptions and the vendor-side proposals outstanding lag - have been subtracted, so a non-zero value is a genuine finding rather than a timing artifact. |
CurrencyCode | CurrencyCode | No | |
GLBalanceCur | MGCEarmarkBalanceAmount | No | A money column on a maintained deal balance, in the deal currency. It extends the standard transaction-currency amount type so that it inherits currency formatting and rounding rather than re-declaring them - a financial amount that does not extend a native amount type formats wrong and rounds wrong. Balance amounts are derived state: they are written only by the balance service, inside the movement transaction and under the global lock order, never as a post-commit step and never by periodic reconciliation. |
SubLedgerBalanceCur | MGCEarmarkBalanceAmount | No | A money column on a maintained deal balance, in the deal currency. It extends the standard transaction-currency amount type so that it inherits currency formatting and rounding rather than re-declaring them - a financial amount that does not extend a native amount type formats wrong and rounds wrong. Balance amounts are derived state: they are written only by the balance service, inside the movement transaction and under the global lock order, never as a post-commit step and never by periodic reconciliation. |
ExplainedByPendingJournals | AmountMST | No | |
ExplainedByUnaccrued | AmountMST | No | |
ExplainedByExceptions | AmountMST | No | |
ExplainedByProposalsOutstanding | AmountMST | No | |
RunBy | UserId | No | |
RunDateTime | TransDateTime | No |