Skip to main content

MGCWardenJournalGovStateEntity

Warden's current governance state for one inventory journal it governs: the reversal approval and the banded cost review, each with its own state and hold, the approval step required and approved, and the policy version that last routed it. Read-only. HoldId and ReviewHoldId link to WardenGovernanceHolds; the row is state, not history.

  • Public collection name: WardenJournalGovernanceStates
  • 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).
SourceJournalIdstrNoThe posted inventory journal this journal reverses; blank when the journal is not a reversal.
SourceJournalRecIdRefRecIdNo
ReversalStateMGCWardenReversalStateNoWhere a governed reversal stands: Not a governed reversal, Pending approval, Approved, or Canceled (its approval workflow was canceled, so the journal cannot post and a fresh reversal is needed).
HoldIdMGCWardenHoldIdYesGovernance hold identifier (number sequence).
ReviewStateMGCWardenJournalReviewStateNoWhere the banded line-cost review stands: Not required, Pending review or Reviewed. Canceled is reserved and nothing writes it.
RequiredStepTagMGCWardenBandStepTagNoThe approval step the journal's largest line cost falls in: None, Controller or CFO. Warden sets it, and the workflow's step conditions decide who approves at that step.
ApprovedStepTagMGCWardenBandStepTagNoThe approval step the completed review was granted at. An edit that moves the journal into a higher band needs a new review, because the required step then exceeds this one.
BandThresholdAmountAmountMSTNoThe line-cost threshold, in the accounting currency, of the band the journal met at its last evaluation.
ReviewedLineCostAmountMSTNoThe largest single line cost on the journal, in the accounting currency, at its last evaluation.
ReviewHoldIdMGCWardenHoldIdYesGovernance hold identifier (number sequence).
PolicyCodeMGCWardenPolicyCodeNoGuard control policy identifier. One active version per policy code.
PolicyVersionMGCWardenPolicyVersionNumNoEffective-dated policy version number; read-only counter incremented by New version.
LastEvaluatedTransDateTimeNo
RouteClaimedDateTimeTransDateTimeNoWhen a recovery process or user claimed the right to re-raise this journal's banded review; blank when no claim is held. A claim left by a process that stopped can be taken again once it is old enough.

Mappings​

Entity fieldData sourceField
RefTableIdMGCWardenJournalGovStateRefTableId
RefRecIdMGCWardenJournalGovStateRefRecId
DocumentKeyMGCWardenJournalGovStateDocumentKey
SourceJournalIdMGCWardenJournalGovStateSourceJournalId
SourceJournalRecIdMGCWardenJournalGovStateSourceJournalRecId
ReversalStateMGCWardenJournalGovStateReversalState
HoldIdMGCWardenReversalHoldHoldId
ReviewStateMGCWardenJournalGovStateReviewState
RequiredStepTagMGCWardenJournalGovStateRequiredStepTag
ApprovedStepTagMGCWardenJournalGovStateApprovedStepTag
BandThresholdAmountMGCWardenJournalGovStateBandThresholdAmount
ReviewedLineCostMGCWardenJournalGovStateReviewedLineCost
ReviewHoldIdMGCWardenReviewHoldHoldId
PolicyCodeMGCWardenJournalGovStatePolicyCode
PolicyVersionMGCWardenJournalGovStatePolicyVersion
LastEvaluatedMGCWardenJournalGovStateLastEvaluated
RouteClaimedDateTimeMGCWardenJournalGovStateRouteClaimedDateTime