MGCWardenSalesGovApprovalRequested
Business event announcing that a sales order breach has entered the sales governance approval cycle, so a subscriber is told the document is held pending a human decision at the moment the cycle opens rather than when it closes. The policy code and version on the contract are read from the MGCWardenSalesGovState side record, which stamped them when the breach was governed, so the event always names the rule that actually held the document and not whichever policy happens to be active later. Emission is best-effort and gated by MGCWardenParameters.BusinessEventsEnabled via MGCWardenGovernanceEventSender; a send failure never unwinds the governed operation.
- Event id:
MGCWardenSalesGovApprovalRequested - Contract class:
MGCWardenApprovalEventContract
Payload fields
| Name | Type | Description |
|---|---|---|
ControlFamily | str | |
Decision | str | |
DocumentKey | MGCWardenDocumentKey | |
DocumentTable | str | |
DocumentRecId | RefRecId | |
GovernanceRef | str | |
PolicyCode | MGCWardenPolicyCode | |
PolicyVersion | int | |
CorrelationId | str | |
DecisionNote | str | |
Company | DataAreaId | |
ActorRef | MGCWardenUserRef |