MGCWardenPriceGuardPolicy
One version of a price guard policy for trade agreement lines: a fixed floor price or a minimum markup on cost, what happens to a line below it (Annotate, Route or Block), the approval step for backdated lines, and effective dates. Edited on Price guard policies; an active version changes through New version. Per company; exposed as WardenPriceGuardPolicies.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
PolicyCode | MGCWardenPolicyCode | Yes | Guard control policy identifier. One active version per policy code. |
PolicyVersion | MGCWardenPolicyVersionNum | No | Effective-dated policy version number; read-only counter incremented by New version. |
Description | Description255 | No | |
FloorBasis | MGCWardenFloorBasis | No | Fixed floor price, or Minimum markup on cost percent: (price minus unit cost) divided by unit cost times 100, so 25 means at least 1.25 times cost. A line with no positive unit cost is not measured. |
FloorValue | real | No | The floor price, or the minimum markup on cost percent, depending on Floor basis. |
ViolationPosture | MGCWardenViolationPosture | No | What happens when a trade agreement line is below the floor: Annotate records it and the journal posts; Route gates the journal for Trade agreement approval; Block refuses posting until the price is corrected. |
EffectiveDateStepTag | MGCWardenBandStepTag | No | The approval step for a trade agreement line backdated beyond the grace or overlapping a posted agreement for the same scope. None (the default) switches this check off; a price breach alone needs Controller, so CFO sends these higher. |
RetroToleranceDays | int | No | How many days back a trade agreement line's Effective from date may reach before it counts as backdated (zero: any date before today; new versions start at 7). It has no effect while Effective-date approval step is None. |
Status | MGCWardenPolicyStatus | No | |
EffectiveFrom | TransDate | No | The first day this version governs; blank means the day its activation is approved, which is then written here. A date after Effective to is refused, and the date is frozen once the version is pending activation. |
EffectiveTo | TransDate | No | The last day this version governs, inclusive; blank means no end date. A date before Effective from is refused, and the date is frozen once the version is pending activation, except when Warden shortens it for a later version. |
ESignatureOnActivation | NoYes | No | Yes requires an electronic signature on the approval that activates this policy version, not on the price-floor checks it drives. Submit for activation is refused while the activation workflow approves by escalation; change this on a new version. |
EndedBySuccessor | RefRecId | No | Set by Warden: the later version of this policy code whose approval ended this version early, the day before it takes effect. If that version is retired before its date, this version gets its old end date back. |
EffectiveToBeforeSuccessor | TransDate | No | Set by Warden: this version's Effective to before a later version's approval ended it early, or blank when it had no end date. It is restored if that later version is retired before its date. |