MGCWardenCountCaseCreated
Business event raised when a counting deviation outside policy tolerance opens a case. 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 case creation.
- Event id:
MGCWardenCountCaseCreated - Contract class:
MGCWardenCountCaseEventContract
Payload fields
| Name | Type | Description |
|---|---|---|
CaseId | str | |
CaseStatus | str | |
Outcome | str | |
ItemId | str | |
WarehouseId | str | |
LocationId | str | |
DeltaQty | real | |
DeltaValue | real | |
RecountCount | int | |
OriginWorkId | str | |
PolicyCode | MGCWardenPolicyCode | |
PolicyVersion | int | |
CountedByRef | MGCWardenUserRef | The 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. |
DecisionNote | str | |
Company | DataAreaId | |
ActorRef | MGCWardenUserRef |