Skip to main content

MGCEarmarkExecutionExceptionEntity

The Earmark execution-exception workbench, read-only, keyed on the exception ID. An execution exception is a malfunction that a post-commit step swallowed so that it could never change a native document's outcome: the account was unresolvable, the journal post threw, the timeline or platform write failed. Each row names the operation, the source document, the legal entity the operation ran in, how many times it has been retried and when. The table is cross-company so that one workbench triages the whole estate, which is why the exception ID draws from a global number sequence and why this entity carries no company context. The entity exists for monitoring and analytics; its staging table serves export only, because the platform routes every data-management export through one. Rows are created, retried, resolved and dismissed only through the exception service, never through a data load. It is deliberately not part of the copy-configuration set. Implements requirements A18 and A21.

  • Public collection name: MGCEarmarkExecutionExceptions
  • Primary key: ExceptionId

Fields​

NameTypeMandatoryDescription
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.
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.
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.
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.
OperationMGCEarmarkExceptionOperationNo
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.
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.
StatusMGCEarmarkExceptionStatusNo
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.
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.
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.

Mappings​

Entity fieldData sourceField
ExceptionIdMGCEarmarkExecutionExceptionExceptionId
SourceDocumentTypeMGCEarmarkExecutionExceptionSourceDocumentType
SourceRecIdMGCEarmarkExecutionExceptionSourceRecId
SourceNaturalKeyMGCEarmarkExecutionExceptionSourceNaturalKey
SourcePackageMGCEarmarkExecutionExceptionSourcePackage
OperationMGCEarmarkExecutionExceptionOperation
MessageMGCEarmarkExecutionExceptionMessage
CompanyMGCEarmarkExecutionExceptionCompany
StatusMGCEarmarkExecutionExceptionStatus
DismissReasonMGCEarmarkExecutionExceptionDismissReason
RetryCountMGCEarmarkExecutionExceptionRetryCount
LastAttemptDateTimeMGCEarmarkExecutionExceptionLastAttemptDateTime