Skip to main content

MGCEarmarkCatchUpCandidateTmp

The documents a crossing movement is about to queue catch-up accruals for, between deciding which they are and writing them.

Fields​

NameTypeMandatoryDescription
InventTransOriginRefRecIdNoThe inventory transaction origin the event is anchored on. This is the origin record, not the individual inventory transaction, and the difference matters: one order line that ships in three deliveries has three inventory transactions but one origin, so anchoring on the origin keeps an event tied to the line it belongs to across partial deliveries, returns and re-reservations. It is part of the unique event key.
SourceDocumentTypeMGCEarmarkSourceDocTypeNoThe kind of document whose posting produced this event - sales packing slip, sales invoice, product receipt, vendor invoice, return packing slip, credit note, purchase return, a manual act or a migration load. It is part of the unique event key, so the packing slip and the invoice that follows it are two separate events against the same order line rather than one event posted twice.
SourceDocumentIdMGCEarmarkNaturalKeyNoThe readable number of the document that produced this event - the packing slip number, invoice number or product receipt number. It is stored as text beside the record references so that the event stays traceable in an export, a data load and after a migration, when a record identifier alone means nothing. It is part of the unique event key.
MovementTypeMGCEarmarkMovementTypeNoThe movement the drain will post for this event - an accrual, an accrual reversal, a claim, a claim reversal or a claim approval. It is part of the unique event key, which is what lets a document carry both an accrual and the reversal of an earlier accrual without the two colliding. Movement type is always set explicitly by whatever enqueues the event; it is never left to default, because the default value of the movement type list is Accrual and an accrual arrived at by omission would post money from nothing.
AccrualInstanceRefRecIdNoThe accrual instance this event will post against - one deal's commitment on one order line. It is part of the unique event key because one order line can carry several deals at once: without it, the second deal's event on a shipped line would collide with the first deal's and be silently dropped, and that deal would never accrue.