MGCEarmarkParametersStaging
The data-management staging table behind MGCEarmarkParametersEntity.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
DefinitionGroup | DMFDefinitionGroupName | Yes | |
ExecutionId | DMFExecutionId | Yes | |
IsSelected | DMFIsSelected | No | |
TransferStatus | DMFTransferStatus | No | |
CustomerModule | NoYesId | No | |
VendorModule | NoYesId | No | |
InventoryModule | NoYesId | No | |
ShapeSupplierRebate | NoYesId | No | |
ShapeSupplierFundedProgramme | NoYesId | No | |
ShapePurchasePriceBuildUp | NoYesId | No | |
ShapeSalesTriggeredAccrual | NoYesId | No | |
PriceModeDefault | MGCEarmarkPriceMode | No | |
AllowPerDealPriceMode | NoYesId | No | |
AccrualAmountUnitQty | MGCEarmarkAmountUnitQty | No | The per-quantity divisor an amount-per-unit rate is quoted against: one means the rate is an amount per single unit, one hundred means it is an amount per hundred units - per hundredweight, which is how the first customer quotes every deal. It extends the standard quantity type so that it inherits unit behavior, display length and rounding rather than re-declaring them. It must be greater than zero, because it is a divisor. A new deal inherits the company default from the Earmark parameters and may override it. Implements requirements A1 and A7. |
DefaultDealUnit | UnitOfMeasureSymbol | No | |
AccrualPointCustomer | MGCEarmarkAccrualPoint | No | |
AccrualPointVendor | MGCEarmarkAccrualPoint | No | |
AccrualPointInventory | MGCEarmarkAccrualPoint | No | |
DealCurrencyDefault | CurrencyCode | No | |
CurrencyPolicy | MGCEarmarkCurrencyPolicy | No | |
LockedRateBasis | MGCEarmarkLockedRateBasis | No | |
ClaimableByCustomer | MGCEarmarkClaimableBy | No | |
ClaimableByVendor | MGCEarmarkClaimableBy | No | |
ClaimableByInventory | MGCEarmarkClaimableBy | No | |
AccountSourceCustomer | MGCEarmarkAccountSource | No | |
AccountSourceVendor | MGCEarmarkAccountSource | No | |
AccountSourceInventory | MGCEarmarkAccountSource | No | |
TargetingCategoryHierarchyName | MGCEarmarkNaturalKey | No | The 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. |
DealExpiryWarningDays | MGCEarmarkRetentionDays | No | A day-count in whole days. The Earmark parameters use it for how long timeline rows and closed execution exceptions are kept before the one series retention task purges them, and for how far ahead a deal's end date is treated as expiring by the workspace tile. It is a count rather than a date so that the same stored value keeps meaning the same thing as time passes. It cannot be negative; zero means eligible rows are purged on the retention task's next run. Only registered purgeable classes are ever purged - a permanent Earmark record has no day-count and is never eligible. Implements requirements A1, A17 and A18. |
HeadroomAlertPercent | MGCEarmarkRatePercent | No | A percentage rate on an Earmark deal, or on the accrual instance frozen from it, used by the percent-of-base rate basis. It extends the standard percent type so that it inherits formatting and display length. The basis the percent is applied to is the built price's base plus over-basis where one exists, otherwise the native line net amount excluding tax; the resolved basis and its source are stored on the instance so that the calculation can be reproduced. Implements requirement A7. |
AllowAmendments | NoYesId | No | |
TimelineRetentionDays | MGCEarmarkRetentionDays | No | A day-count in whole days. The Earmark parameters use it for how long timeline rows and closed execution exceptions are kept before the one series retention task purges them, and for how far ahead a deal's end date is treated as expiring by the workspace tile. It is a count rather than a date so that the same stored value keeps meaning the same thing as time passes. It cannot be negative; zero means eligible rows are purged on the retention task's next run. Only registered purgeable classes are ever purged - a permanent Earmark record has no day-count and is never eligible. Implements requirements A1, A17 and A18. |
ExceptionRetentionDays | MGCEarmarkRetentionDays | No | A day-count in whole days. The Earmark parameters use it for how long timeline rows and closed execution exceptions are kept before the one series retention task purges them, and for how far ahead a deal's end date is treated as expiring by the workspace tile. It is a count rather than a date so that the same stored value keeps meaning the same thing as time passes. It cannot be negative; zero means eligible rows are purged on the retention task's next run. Only registered purgeable classes are ever purged - a permanent Earmark record has no day-count and is never eligible. Implements requirements A1, A17 and A18. |
EventsEnabledDealFamily | NoYesId | No | |
EventsEnabledAccrualFamily | NoYesId | No | |
ReversalPresentation | MGCEarmarkReversalPresentation | No | |
ManualInstanceActionEnabled | NoYesId | No | |
ReturnAfterClaimBehaviour | MGCEarmarkReturnAfterClaimBehaviour | No | |
BalanceRebuildVarianceAlert | NoYesId | No | |
EventProcessingMode | MGCEarmarkEventProcessingMode | No | |
EventSweepCadence | MGCEarmarkCadenceMinutes | No | How often a recurring Earmark accrual job is scheduled to run, expressed in minutes. It is a recommendation the setup uses when it creates the batch job, not a second scheduler: once the job exists, its recurrence is the batch job's own and is changed there. Minutes are used for every cadence in Earmark so that one unit serves both a quarter-hourly queue sweep and a daily reconciliation-shaped job, and so a company that needs an unusual frequency is never blocked by the unit the parameter happens to be in. Zero means the job is not scheduled by Earmark at all. |
EventStalenessTimeoutMinutes | MGCEarmarkStalenessMinutes | No | How long an accrual event may sit in Processing before the sweep reclaims it to Queued. The reclaim exists because a batch session can die between claiming an event and committing its movement, leaving a row that no live session will ever finish. It is the single documented exception to the queue's forward-only status protocol, is permitted only from the sweep under a call-context flag, and is safe only because the idempotency check turns an already-posted event into Superseded. |
EventDrainCapPerRun | MGCEarmarkDrainCap | No | The largest number of queued accrual events one run of the processor will claim. The cap bounds a run rather than the queue: whatever is left is claimed by the next run, so a months-long catch-up backlog is worked off over several batch windows instead of in one. It exists because a deal that crosses its qualifying quantity enqueues one catch-up event per previously skipped transaction, which can be a very large number arriving at once, and an unbounded run would hold its claim over the whole set for as long as it took. The claim itself is a single set-based update, so the cap costs nothing to apply. |
UnaccruedSweepCadence | MGCEarmarkCadenceMinutes | No | How often a recurring Earmark accrual job is scheduled to run, expressed in minutes. It is a recommendation the setup uses when it creates the batch job, not a second scheduler: once the job exists, its recurrence is the batch job's own and is changed there. Minutes are used for every cadence in Earmark so that one unit serves both a quarter-hourly queue sweep and a daily reconciliation-shaped job, and so a company that needs an unusual frequency is never blocked by the unit the parameter happens to be in. Zero means the job is not scheduled by Earmark at all. |
ReconciliationTolerance | 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. |
AccrualEventRetentionDays | MGCEarmarkRetentionDays | No | A day-count in whole days. The Earmark parameters use it for how long timeline rows and closed execution exceptions are kept before the one series retention task purges them, and for how far ahead a deal's end date is treated as expiring by the workspace tile. It is a count rather than a date so that the same stored value keeps meaning the same thing as time passes. It cannot be negative; zero means eligible rows are purged on the retention task's next run. Only registered purgeable classes are ever purged - a permanent Earmark record has no day-count and is never eligible. Implements requirements A1, A17 and A18. |