MGCEarmarkVendorSettlementRun
One periodic run of MGCEarmarkVendorSettlementRunService: the parameters it ran with, and what it produced. Preview writes nothing at all; a row is written only on a real run, once, at completion.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
VendorSettlementRunId | MGCEarmarkVendorSettlementRunId | Yes | This run's own identifier, allocated from the MGCEarmarkVendorSettlementRunId number sequence. |
Status | MGCEarmarkVendorSettlementRunStatus | No | Whether this run completed cleanly or with at least one item raised to the execution-exceptions workbench. |
ShapeSupplierRebate | NoYesId | No | Whether this run included Shape 1 (supplier rebate on purchases) claims. |
ShapeMirror | NoYesId | No | Whether this run included Shape 2 (supplier-funded customer program, mirror) claims. |
ShapeSalesTriggered | NoYesId | No | Whether this run included Shape 4 (sales-triggered vendor accrual, third-party) claims. |
VendorSelector | MGCEarmarkAccountSelector | No | Whether this run was scoped to one vendor, a vendor group, or every vendor. |
VendorRelation | MGCEarmarkAccountRelation | No | The vendor or vendor group this run was scoped to, read against the vendor selector. |
CurrencyFilter | CurrencyCode | No | The single currency this run was filtered to; blank means every currency. |
MinimumAmount | MGCEarmarkMinSettlementAmount | No | The minimum-amount filter this run applied per vendor and currency. |
PeriodEnd | TransDate | No | The period-end date this run selected accumulated transactions up to. |
ClaimCount | Counter | No | The number of claims this run generated. |
ExceptionCount | Counter | No | The number of items this run raised to the execution-exceptions workbench. |
TotalAmount | MGCEarmarkAccrualAmount | No | The total amount across every claim this run generated. |
RunBy | UserId | Yes | The user who ran this settlement run. |
RunDateTime | TransDateTime | No | When this settlement run completed. |