MGCEarmarkOpeningBalanceMigrationStaging
The data-management staging table behind MGCEarmarkOpeningBalanceMigrationEntity.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
DefinitionGroup | DMFDefinitionGroupName | Yes | |
ExecutionId | DMFExecutionId | Yes | |
IsSelected | DMFIsSelected | No | |
TransferStatus | DMFTransferStatus | No | |
MigrationBatchId | MGCEarmarkMigrationBatchId | No | The identifier of a cut-over migration batch, which is one ordered, idempotent run of the migration steps, each with its own validation and its own tie-out. It is allocated from the Migration batch ID number sequence, with a generated fallback while sequences are unconfigured. Because a certified tie-out cites the batch ID, the sequence may never be lowered. Implements requirement F10. |
DealId | 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. |
CounterpartyType | MGCEarmarkClaimCounterpartyType | No | |
CounterpartyAccount | 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. |
OpenAmount | MGCEarmarkAccrualAmount | No | A deal money amount in the transaction currency, which for Earmark is always the deal currency. It extends the standard currency amount type so that it inherits currency formatting, precision and rounding behavior rather than re-declaring them. Amounts are computed at full precision and rounded once, at the journal line, to the currency's precision, half away from zero; every column of this type ships beside its accounting-currency amount and the exchange rate that produced it. Implements requirements C7 and C11. |
CurrencyCode | CurrencyCode | No | |
SourceKey | MGCEarmarkSourceKey | No | The natural key the migrated row carried in the source system. It is half of the migration idempotency key - batch identifier plus source key - so a step that is re-run cannot load the same record twice, Retry selected reloads exactly one record, and Roll back step deletes by the same pair. It is recorded because the source identifier is the only thing a person reconciling a cut-over can look up on both sides. |
AccrualInstanceId | MGCEarmarkAccrualInstanceId | No | The identifier of an accrual instance, which is the frozen, by-value commitment written when a deal is accepted onto an order line, when a vendor-shape or mirror instance is created, or by the manual instance action. It is allocated from the Accrual instance ID number sequence, with a generated fallback while sequences are unconfigured. The instance ID is stamped on every accrual transaction, journal register row and claim line descended from the instance, so a movement can be traced back to the commitment that authorized it without re-reading the deal. Implements requirement C1. |
AccrualTransId | MGCEarmarkAccrualTransId | No | The identifier of a single accrual transaction, which is one movement produced by the movement engine: an accumulation, a reversal, a claim, a claim reversal, a claim approval, an adjustment or a return reversal. It is allocated from the Accrual transaction ID number sequence, with a generated fallback while sequences are unconfigured. Every transaction points at its parent, and because reversals and downstream movements take their amounts from the parent rather than recalculating them, a chain identified by these IDs always nets to exactly zero. Implements requirements C5 and C6. |
LoadedDateTime | TransDateTime | No | |
RolledBack | NoYesId | No |