Skip to main content

MGCWardenCountRecountGenerated

Business event raised when a count case is sent back for a recount. This and the three other case-lifecycle events share MGCWardenCountCaseEventContract and are separate classes only so a subscriber can filter on the moment. The payload deliberately carries the signed delta but NOT the CountedQty/OnHandQty pair, which is evidence and stays in the store. Emission is best-effort and gated by MGCWardenGovernanceEventSender (MGCWardenCountParameters.BusinessEventsEnabled); a send failure never unwinds the recount.

  • Event id: MGCWardenCountRecountGenerated
  • Contract class: MGCWardenCountCaseEventContract

Payload fields​

NameTypeDescription
CaseIdstr
CaseStatusstr
Outcomestr
ItemIdstr
WarehouseIdstr
LocationIdstr
DeltaQtyreal
DeltaValuereal
RecountCountint
OriginWorkIdstr
PolicyCodeMGCWardenPolicyCode
PolicyVersionint
CountedByRefMGCWardenUserRefThe counter as a subject reference (WP-...): the worker's, or the device user's when no worker was resolved. Since D11 phase 2a never a personnel number or an account; see the class summary. Typed MGCWardenUserRef since D11 phase 4, as every reference member of a Warden contract is (leg 1); the JSON type is unchanged, a string.
DecisionNotestr
CompanyDataAreaId
ActorRefMGCWardenUserRef