Skip to main content

MGCWardenSalesGovPolicyActivated

Business event raised when a sales governance policy version activates. Best-effort emission. Until then only the core control family raised MGCWardenPolicyActivated and the four family handlers each declared the omission as a deliberate deferral, so a subscriber listening for "policy activated" saw nothing when a sales governance, price guard, journal or count version went Active - inside the same clause that requires per-family events. The alternative considered was one event carrying the family in its payload; it was rejected because it forces every subscriber to inspect the payload and to be redeployed whenever a family is added, whereas a named event lets a subscriber say what it cares about and ignore the rest. It also matches how the rest of the product resolves - per family, almost everywhere. THE COST IS ACCEPTED AND SHOULD BE HONORED: four events, four contracts, four things to keep in step. A fifth policy family means a fifth event here, not a new branch in a shared one.

  • Event id: MGCWardenSalesGovPolicyActivated
  • Contract class: MGCWardenSalesGovPolicyActivatedContract

Payload fields​

NameTypeDescription
PolicyCodeMGCWardenPolicyCode
PolicyVersionint
PolicyFamilystr
CompanyDataAreaId
ActorRefMGCWardenUserRef