MGCWardenSalesGovState
Warden's sales governance state for one sales order or quotation, per company: its governance hold, whether it needs reconfirmation and who has claimed that work, and the policy and figures of the breach being held. Warden writes it when it evaluates the document and keeps it while the document exists. Shown on the Reconfirmation tracking page; exposed as WardenSalesGovernanceStates.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
RefTableId | RefTableId | No | |
RefRecId | RefRecId | No | |
DocumentKey | MGCWardenDocumentKey | No | Natural key of the governed document (e.g. purchase order number). Carried beside RefTableId/RefRecId so timeline rows survive document deletion: no field is ever added to a standard table (suite rule). |
Hold | RefRecId | No | |
ReconfirmationState | MGCWardenReconfirmationState | No | Whether the document must be reconfirmed after a change: Not required, Required (picking, packing and invoicing are refused until a new order confirmation is posted), or Cleared (a confirmation has since been posted). |
ApprovalCarryStamp | str | No | Content signature of an approved quotation, carried to the order made from it so an unchanged order is not approved twice. Any edit to customer, currency, items, quantities, amounts or discounts ends the carry; blank means none was carried. |
PolicyCode | MGCWardenPolicyCode | No | The sales governance policy whose breach placed the current hold, recorded by the evaluation that placed it and not changed afterwards, so approval and rejection events name the rule that held the document. |
PolicyVersion | MGCWardenPolicyVersionNum | No | Version of the governing policy when its breach placed the hold, recorded with Governing policy by the same evaluation and not changed afterwards; it matches the version on the hold. |
LastEvaluated | TransDateTime | No | |
AssignedTo | UserId | No | The user working this document's outstanding reconfirmation, set with Take on the reconfirmation tracking list; blank means unclaimed. A work claim only: it does not affect whether the document may proceed, and it clears when the reconfirmation clears. |
EvaluatedSignature | str | No | Digest of the governed content at the last completed sales governance evaluation. A confirmation attempt with unchanged content is not evaluated again, so an approved order does not trigger a second approval. |
BreachMeasure | MGCWardenSalesMeasure | No | The measure whose threshold the document breached when the hold was placed, recorded once and not changed. When several measures breached, the first is named here and all of them appear in Breach detail. |
BreachMeasuredValue | real | No | What the measure that fired measured when the hold was placed: a percent for margin and discount, or an amount in the legal entity's accounting currency for credit exposure and order value. |
BreachThresholdValue | real | No | The threshold the measured value was compared with when the hold was placed, in the same unit: a percent, or an amount in the accounting currency. Stored, so a later threshold edit does not change it. |
BreachThresholdRow | RefRecId | No | The threshold line that set the threshold for this breach, recorded when the hold was placed and kept after the hold clears. Zero means no breach has been recorded, or the breach is older than this field. |
BreachDetail | Notes | No | The full account of what breached when the hold was placed, every measure and every line, in the words written to the governance event log. The typed breach fields carry only the first measure. |
BreachDateTime | TransDateTime | No | When the breach figures on this row were measured. Unlike Last evaluated, which changes at every evaluation, it stays with the evaluation that placed the hold. |
EvaluatedPolicySignature | str | No | Fingerprint of the active sales governance policy set behind the last verdict. The policy sweep re-evaluates documents whose fingerprint differs from the set now in force; blank means the verdict predates policy stamping. |