Skip to main content

MGCWardenTAGateStateEntity

Warden's approval state for one trade agreement journal: whether posting is gated, the violations found, the approval step required, who submitted it, and the fingerprints of its evaluation and approval, including when an approval was superseded. Read-only. HoldId links to WardenGovernanceHolds; the row is state, kept while its journal exists.

  • Public collection name: WardenTradeAgreementGateStates
  • Primary key: RefTableId, RefRecId

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).
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.
HoldIdMGCWardenHoldIdYesGovernance hold identifier (number sequence).
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.
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.
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.
ApprovedDateTimeTransDateTimeNoWhen the Trade agreement approval workflow completed for this journal.
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.
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.
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.
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.

Mappings​

Entity fieldData sourceField
RefTableIdMGCWardenTAGateStateRefTableId
RefRecIdMGCWardenTAGateStateRefRecId
DocumentKeyMGCWardenTAGateStateDocumentKey
SurfaceMGCWardenTAGateStateSurface
GatedMGCWardenTAGateStateGated
HoldIdMGCWardenHoldHoldId
ViolationCountMGCWardenTAGateStateViolationCount
EffectiveDateFindingsMGCWardenTAGateStateEffectiveDateFindings
RequiredStepTagMGCWardenTAGateStateRequiredStepTag
SubmittedByMGCWardenTAGateStateSubmittedBy
LastEvaluatedMGCWardenTAGateStateLastEvaluated
EvaluatedSignatureMGCWardenTAGateStateEvaluatedSignature
EvaluatedPolicySignatureMGCWardenTAGateStateEvaluatedPolicySignature
ApprovedDateTimeMGCWardenTAGateStateApprovedDateTime
ApprovedSignatureMGCWardenTAGateStateApprovedSignature
ApprovedPolicySignatureMGCWardenTAGateStateApprovedPolicySignature
ApprovalSupersededDateTimeMGCWardenTAGateStateApprovalSupersededDateTime
SupersededPolicySignatureMGCWardenTAGateStateSupersededPolicySignature
RouteClaimedDateTimeMGCWardenTAGateStateRouteClaimedDateTime