Skip to main content

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​

NameTypeMandatoryDescription
RefTableIdRefTableIdNo
RefRecIdRefRecIdNo
DocumentKeyMGCWardenDocumentKeyNoNatural 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).
SurfaceMGCWardenTASurfaceNoWhere the trade agreement lives: Classic (the trade agreement journal) or UPM (Unified Pricing Management).
HoldRefRecIdNo
ViolationCountintNoHow many price-floor violations the journal had at its last evaluation.
EffectiveDateFindingsintNoHow 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.
RequiredStepTagMGCWardenBandStepTagNoThe 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.
GatedNoYesNoYes 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.
LastEvaluatedTransDateTimeNoWhen 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.
EvaluatedSignaturestrNoA digest of the journal content at the last completed evaluation; an approval is recorded against this content. A Block refusal never writes it.
EvaluatedPolicySignaturestrNoA fingerprint of the active price-guard policy set the last verdict was measured against; blank on older rows that were not stamped.
ApprovedSignaturestrNoThe 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.
ApprovedPolicySignaturestrNoThe 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.
ApprovedDateTimeTransDateTimeNoWhen the Trade agreement approval workflow completed for this journal.
ApprovalSupersededDateTimeTransDateTimeNoWhen 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.
RouteClaimedDateTimeTransDateTimeNoWhen 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.
SubmittedByMGCWardenUserRefNoWho 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.
SupersededPolicySignaturestrNoThe 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.