Skip to main content

MGCEarmarkDealExplanationTmp

One rejected deal and the verdict that rejected it, as MGCEarmarkDealResolver::explain stated it.

Fields​

NameTypeMandatoryDescription
DealRecIdRefRecIdNoThe record identifier of the deal this row is about, carried so that Open deal can navigate to it without the dialog re-deriving which deal it meant. It is the value MGCEarmarkDealResolver::resultDeal returned for this row and is never looked up or recomputed here. A record id alone is meaningless in an export, which is why the deal's own ID travels beside it in the Deal ID column; the record id is the join, the deal ID is what a person reads.
DealIdMGCEarmarkDealIdNoThe identifier of the Earmark deal. It is allocated from the Deal ID number sequence when one is configured and typed by the author when one is not, it is quoted on every claim statement and cited by every accrual instance the deal produces, and it cannot be changed once the deal exists.
NameMGCEarmarkDealNameNoThe readable name of a deal or a deal group, in the words the person reading a list, a report or a claim statement will recognize. One hundred characters is long enough for a customer's own program naming without inviting a free-text note; the explanation of why a deal was ended or amended belongs on the reason note, not here. The name is a title field, so it is what the record is called wherever it appears beside its identifier, and it is one of the few values an approved deal may still change - and then only through an amendment. Implements requirements A3 and A14.
StatusMGCEarmarkDealStatusNo
VerdictLabelIdMGCEarmarkNaturalKeyNoThe stable MGCEarmark_Vrd_ label identifier of the verdict in the Why not column, stored beside the rendered sentence rather than instead of it. A verdict is a policy outcome and Earmark makes every one of them a label precisely so that it is quotable: the sentence changes with the reader's language, the identifier does not. A support engineer pasting a verdict into a case note, a saved view filtering on one refusal, and an automated test asserting which criterion failed all key on this column; only a person reads the other one. It is copied from MGCEarmarkVerdict::labelId and is never constructed here.
VerdictTextMGCEarmarkReasonNoteNoThe rendered sentence naming the first criterion this deal failed, in the fixed order status, module, currency, window, item axis, account axis, dimension, unit, payment method - so the same near miss always produces the same explanation. Only the first failure is reported per deal, because a deal that is not approved has nothing useful to say about its item axis. The sentence is copied verbatim from the verdict object the resolver stated; this dialog assembles no wording of its own, which is what lets the explanation shown here and the explanation shown by EAR-002's Show ineligible be the same words. This is a policy outcome, not a malfunction: nothing here is retryable and nothing here reaches the execution-exceptions workbench.