Skip to main content

MGCEarmarkLinePriceComponentStaging

The data-management staging table behind MGCEarmarkLinePriceComponentEntity.

Fields​

NameTypeMandatoryDescription
DefinitionGroupDMFDefinitionGroupNameYes
ExecutionIdDMFExecutionIdYes
IsSelectedDMFIsSelectedNo
TransferStatusDMFTransferStatusNo
LinePriceComponentRecIdRefRecIdNo
OrderIdMGCEarmarkNaturalKeyNoThe readable half of an Earmark dual key. Every Earmark reference to another record stores two things: the record ID, which is exact and fast, and this natural key, which is the value a person recognizes - a deal ID, a sales order and line, an inventory transaction ID, a claim ID, a voucher, a payment method or a category hierarchy name. Both are stored because a record ID on its own is useless in an export, in a data-management load, after a migration, or once the record it pointed at has been purged. Sixty characters matches the Earmark identifier width, so any Earmark key copies into it without truncation. Implements requirements A1, A17 and A18.
LineNumLineNumNo
BuildNumberMGCEarmarkBuildNumberNoThe ordinal of one build within one order line's history, starting at 1 and increasing by one each time the line is built again. It is an ordinal per line rather than an estate-wide identifier, which is why it is not number-sequenced: a sequence would burn numbers across every line in the company to produce it, and its counter would read as a count of price builds that is not one. Together with the line reference it is the alternate key of the build table, so two builds of one line can never share a number.
CurrentNoYesIdNo
BuildStateMGCEarmarkBuildStateNo
InventTransIdInventTransIdNo
CurrencyCodeCurrencyCodeNo
ComponentTypeMGCEarmarkComponentTypeNo
DealIdMGCEarmarkDealIdNoThe 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.
ResolvedPriceModeMGCEarmarkPriceModeNo
AccrualInstanceRefRecIdNo
AmountPerDealUnitCurMGCEarmarkAccrualAmountNoA 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.
AmountPerDealUnitMSTMGCEarmarkAccrualAmountMSTNoThe accounting-currency counterpart of an Earmark deal money amount. It extends the standard accounting-currency amount type so that it inherits currency formatting and precision. It is stored beside the transaction-currency amount and the rate that produced it, so that a movement can be reconciled to the general ledger in both currencies without re-deriving a rate that may since have changed. Implements requirements C11 and C19.
AmountPerSalesUnitCurMGCEarmarkAccrualAmountNoA 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.
AmountPerSalesUnitMSTMGCEarmarkAccrualAmountMSTNoThe accounting-currency counterpart of an Earmark deal money amount. It extends the standard accounting-currency amount type so that it inherits currency formatting and precision. It is stored beside the transaction-currency amount and the rate that produced it, so that a movement can be reconciled to the general ledger in both currencies without re-deriving a rate that may since have changed. Implements requirements C11 and C19.
AmountPerPriceUnitCurMGCEarmarkAccrualAmountNoA 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.
AmountPerPriceUnitMSTMGCEarmarkAccrualAmountMSTNoThe accounting-currency counterpart of an Earmark deal money amount. It extends the standard accounting-currency amount type so that it inherits currency formatting and precision. It is stored beside the transaction-currency amount and the rate that produced it, so that a movement can be reconciled to the general ledger in both currencies without re-deriving a rate that may since have changed. Implements requirements C11 and C19.
DealUnitFactorMGCEarmarkConversionFactorNoThe multiplier that converts a quantity from the inventory unit to the deal unit. It extends the standard factor type so that it inherits precision and formatting rather than re-declaring them. The factor is resolved once and frozen on the accrual instance at creation, never re-derived at posting time: a unit conversion that changed after an order was priced would silently restate money that has already been committed. Where no conversion path exists the engine returns the verdict Unit not convertible - it never mis-scales silently and never fails at runtime.
SalesUnitFactorMGCEarmarkSalesUnitFactorNoThe factor that converted a deal's rate from the unit the deal states it in to the unit the line is sold in, snapshotted at the moment of the build so that nothing downstream re-derives it from a conversion that has since changed. If no conversion path exists between the two units the component is never written at all: the unit converter returns the verdict Unit not convertible and the deal is excluded as ineligible. A silent mis-scale is the one outcome the conversion path must make impossible.
AmountEditedNoYesIdNo
OriginalAmountMGCEarmarkAccrualAmountNoA 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.