MGCWardenTAGateState
Warden's price governance state for one trade agreement journal, classic or Unified Pricing Management, per company: whether posting is gated, its hold and violations, the approval step it needs and the approval it holds. Warden writes it when it evaluates the journal, and the trade agreement approval workflow reads it. Shown on Trade agreement gated journals; exposed as WardenTradeAgreementGateStates.
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). |
Surface | MGCWardenTASurface | No | Where the trade agreement lives: Classic (the trade agreement journal) or UPM (Unified Pricing Management). |
Hold | RefRecId | No | |
ViolationCount | int | No | How many price-floor violations the journal had at its last evaluation. |
EffectiveDateFindings | int | No | How many lines were backdated or overlapped an already posted agreement at the last evaluation, counted apart from Violations. Zero on a gated journal means it is gated for its prices alone. |
RequiredStepTag | MGCWardenBandStepTag | No | The approval step this journal must clear, read by the Trade agreement approval workflow's step conditions: Controller for a price breach, or the policy's Effective-date approval step for backdated or overlapping dates, whichever is higher. Kept after approval. |
Gated | NoYes | No | Yes means posting is held until the Trade agreement approval completes; releasing the trade agreement hold alone does not clear it. It is also cleared when a gated journal is deleted. |
LastEvaluated | TransDateTime | No | When Warden last cleared or gated this journal in a price-guard check, at submit or at posting. A Block refusal is not stamped here; it is on the journal's governance event log. |
EvaluatedSignature | str | No | A digest of the journal content at the last completed evaluation; an approval is recorded against this content. A Block refusal never writes it. |
EvaluatedPolicySignature | str | No | A fingerprint of the active price-guard policy set the last verdict was measured against; blank on older rows that were not stamped. |
ApprovedSignature | str | No | The journal content the approver approved, copied from Evaluated content signature when the approval completed; blank means no live approval. The journal posts without a new check only while its content still matches this value. |
ApprovedPolicySignature | str | No | The price-guard policy set in force when the approval was granted. A later policy change does not cancel the approval, but the Trade agreement approval sweep uses this to find and supersede such approvals. |
ApprovedDateTime | TransDateTime | No | When the Trade agreement approval workflow completed for this journal. |
ApprovalSupersededDateTime | TransDateTime | No | When the Trade agreement approval sweep marked this approval superseded because the price-guard policy set changed; blank means it stands. The journal is then measured again at posting; a new approval clears this. |
RouteClaimedDateTime | TransDateTime | No | When a recovery process or user claimed the right to raise this journal's trade agreement approval; blank when no attempt is in flight. A claim left by a process that stopped can be taken again once it is old enough. |
SubmittedBy | MGCWardenUserRef | No | Who put this journal in front of an approver, as a subject reference (older rows hold the user ID); the approver must be someone else. This is not the workflow originator, which can be a batch account. |
SupersededPolicySignature | str | No | The price-guard policy fingerprint that was in force when the approval was superseded: the rule the journal will actually be measured against. Read beside ApprovedPolicySignature it states, in two values, exactly which rule change overtook which decision. |