Skip to main content

MGCWardenCountCaseResolved

Shares MGCWardenCountCaseEventContract with the other case-lifecycle events and is a separate class only so a subscriber can filter on the moment. IT EXISTS BECAUSE THE QUARANTINE EVENT DOES. A subscriber told "count case quarantined as missing stock" had exactly one way to hear how it ended; the write-off event; so every quarantine that came back was, to an integration, a discrepancy that simply stopped being mentioned. This is the other ending, and the payload's decision note says where the stock went back to and whether the case itself closed, because a case carrying a second outstanding quarantine stays open. NOTHING IN THIS EVENT ANNOUNCES AN ADJUSTMENT, deliberately. The write-off event describes a delta that is on its way to the consolidation journal; this one describes a transfer back to the count location and no posting at all. A subscriber that reconciles on quantities must read it as a location change, not as a correction. Emission is best-effort and gated by MGCWardenGovernanceEventSender (MGCWardenCountParameters.BusinessEventsEnabled); a send failure never unwinds the resolve.

  • Event id: MGCWardenCountCaseResolved
  • 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