Skip to main content

MGCEarmarkExecutionException

One estate-wide queue of the internal failures Earmark raised after a native document had already committed - a timeline write that failed, an event that could not be published, a journal that would not post. It records failures, never policy outcomes: a cap that was reached or a quantity below the qualifying threshold is a verdict and is reported to the user, not filed here. The table is the only one in the series that is not saved per company, so a single workbench triages the whole estate with the originating company as a column; its identifier therefore comes from a shared, estate-wide number sequence. Every row is retryable, and every registered operation ships the handler that retries it.

Fields​

NameTypeMandatoryDescription
CompanyDataAreaIdYesThe 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.
DismissReasonMGCEarmarkDismissReasonNoWhy 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.
ExceptionIdMGCEarmarkExceptionIdYesThe 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.
LastAttemptDateTimeTransDateTimeNoWhen 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.
MessageNotesYesThe 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.
OperationMGCEarmarkExceptionOperationNo
RetryCountIntegerNoHow 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.
SourceDocumentTypeMGCEarmarkDocumentTypeNoWhich 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.
SourceNaturalKeyMGCEarmarkNaturalKeyNoThe 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.
SourcePackageMGCEarmarkSourcePackageNoWhich 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.
SourceRecIdRefRecIdNoThe 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.
StatusMGCEarmarkExceptionStatusNo