ExceptionId | MGCEarmarkExceptionId | Yes | The identifier of this execution exception, allocated from the estate-wide Exception ID number sequence. It is the operator's handle on the row and the reference to quote to support, which is why the number sequence is shared across all legal entities rather than per company - two companies drawing their own numbers into one workbench would eventually mint the same identifier. |
SourceDocumentType | MGCEarmarkDocumentType | No | Which kind of Earmark record the failing operation was working on. Together with the source reference and the readable source key it is what lets an operator open the document behind the failure. Some operations have no document behind them, and for those it is left unset. |
SourceRecId | RefRecId | No | The record reference of the document the failing operation was working on. It is the join to the document; the readable source key is stored beside it because a workbench row outlives the document it names. |
SourceNaturalKey | MGCEarmarkNaturalKey | No | The readable identifier of the document the failing operation was working on - the deal ID, the claim reference, the inventory transaction. It is what the workbench shows and what stays meaningful after the document has been archived, migrated or purged. |
SourcePackage | MGCEarmarkSourcePackage | No | Which part of Earmark raised the exception - deals, price build-up, accruals, claims, vendor shapes or the shared platform. It is the first triage axis, because it tells the operator which area owns the retry handler for this row. New areas are added by registration as later packages ship. |
Operation | MGCEarmarkExceptionOperation | No | |
Message | Notes | Yes | The captured failure text, written to be acted on rather than merely recorded. It is stamped once when the exception is raised and never edited afterwards, because it describes something that has already happened. |
Company | DataAreaId | Yes | The legal entity the failing operation was running in. Because the workbench is estate-wide, this is the column that says where the failure happened and the one to filter on when triaging a single company's work. |
Status | MGCEarmarkExceptionStatus | No | |
DismissReason | MGCEarmarkDismissReason | No | Why this exception was dismissed rather than resolved. It is required the moment the status becomes dismissed, because an exception closed without an explanation is indistinguishable from one that was silently lost. The dismiss dialog offers the financial reasons flagged as applicable to Earmark; what is stored here is the explanation itself, so the row stays readable even if the reason is unflagged later. |
RetryCount | Integer | No | How many times a retry has been attempted for this exception. A count that keeps climbing is the signal worth acting on: it says the underlying cause has not been fixed and the operation will keep failing. |
LastAttemptDateTime | TransDateTime | No | When a retry was last attempted, in UTC. Read together with the retry count it distinguishes a row nobody has looked at from one that is being retried and failing. |