MGCEarmarkControlVerdict
The register of every policy outcome Earmark's economic controls produced - each time a lifetime cap clipped an accrual, a line fell below a qualifying quantity, a per-transaction minimum or maximum applied, or a credit note arrived without a quantity to reverse. It exists so that the question "why did this deal accrue less than we expected" has a written answer rather than a reconstruction. A verdict is a policy outcome and never a malfunction: nothing in this register is an error, nothing in it appears in the execution exceptions workbench, and nothing in it is retried. Rows are append-only and are never deleted or purged, because a register that forgets why an accrual was clipped cannot answer the question it exists for. The only column a person can change is whether they have worked the row, and only on the one verdict type that is workable.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
AccrualInstance | RefRecId | No | The accrual instance the verdict relates to, where there is one. Blank on the deal-level controls, which are evaluated before any instance is chosen. Do not treat a blank here as an incomplete row - it is a verdict about the deal rather than about a commitment. |
AccrualTrans | RefRecId | No | The accrual transaction the verdict relates to, where one was written. It is frequently blank, and that is the point of the register rather than a gap in it: a line below the qualifying quantity accrues nothing, a deal already at its cap accrues nothing, and those zero-amount outcomes write a verdict and no transaction at all. They are precisely the cases this register was built to explain. |
AppliedAmount | MGCEarmarkAccrualAmount | No | What was actually accrued after the control was applied, in the deal currency. Zero where the control stopped the accrual entirely. Read it together with the computed amount, which says what it was clipped from. |
AppliedQty | MGCEarmarkDealQty | No | The quantity the control let through, in the deal unit. Zero where a minimum quantity was not met, and clipped where a maximum quantity was reached. |
ComputedAmount | MGCEarmarkAccrualAmount | No | What the deal's terms would have accrued before the control was applied, in the deal currency. Read it together with the applied amount: the pair is the whole reason the register exists, because "computed 505.00, applied 500.00" says exactly what the cap did, while either figure on its own says almost nothing. The two are equal on a verdict that clipped nothing. |
ComputedQty | MGCEarmarkDealQty | No | The quantity the transaction presented to the control, in the deal unit. The quantity half of the computed-and-applied pair, and it is read the same way: on its own it says what arrived, and against the applied quantity it says what the control let through. |
CounterpartyAccount | MGCEarmarkAccountRelation | No | The customer or vendor account the control was evaluated for, where the control has a counterparty axis. Blank on a deal-level control, which is evaluated for the deal as a whole and not for any one account. |
Deal | RefRecId | Yes | The deal whose control produced this verdict. Every verdict names a deal: a verdict about nothing would be unreachable from the deal page, from the workspace tile and from the review worklist, all of which start here. |
DealId | MGCEarmarkDealId | No | The readable identifier of the deal, stored beside the record reference because a record identifier alone is unreadable in an export, unusable in a data-management load and worthless after a migration. The breach export keys on this rather than on the reference. |
ResolutionNote | MGCEarmarkReasonNote | No | What was done about the verdict, in the resolver's own words. This is the column an auditor reads next after the amounts, so it is worth writing what was checked and what was concluded rather than only that it was looked at. A note cannot be left on an unresolved verdict: that is the shape a half-finished worklist row takes, and it would sit in the open view looking answered. |
Resolved | NoYesId | No | Whether a person has worked this verdict. Only the credit-without-quantity verdict is workable; the rest are informational and cannot be marked resolved, because closing a row nobody is expected to act on would hide it from a view that exists to show it. Clearing this re-opens the verdict and clears the resolver and the moment along with it. |
ResolvedBy | UserId | No | The user who worked this verdict. Stamped when the verdict is marked resolved and cleared when it is re-opened, so it can never name a resolver for a row that is still open. |
ResolvedDateTime | TransDateTime | No | When the verdict was worked, in coordinated universal time. Stamped on resolution and cleared on re-opening. |
VerdictDateTime | TransDateTime | Yes | When the control fired, in coordinated universal time. Stamped by the engine at the moment of the decision, never afterwards and never by a caller. One evaluation can legitimately produce more than one verdict at the same instant - a cap-reached and a headroom warning fall out of the same calculation - so this moment identifies when a decision was taken rather than which decision it was. |
VerdictType | MGCEarmarkControlVerdictType | No | Which of the economic controls produced this outcome. The value set is extensible, so a later package or a customer can register a further verdict; anything reading this column must therefore treat a value it does not recognize by refusing and raising rather than by carrying on, and must not do arithmetic on the underlying integer, because that only works while the value set stays unbroken. Only the credit-without-quantity verdict is workable. The rest are informational and are read rather than actioned. |