MGCWardenSalesGovThreshold
One threshold line of a sales governance policy version: a measure (margin percent, discount percent, credit exposure or order value), the value that trips it, the customers and items it covers, and a priority that breaks ties. Edited with its policy on the Sales governance policies page; a line cannot be changed once its version leaves Draft. Exposed as WardenSalesGovThresholds.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
Policy | RefRecId | Yes | |
Measure | MGCWardenSalesMeasure | No | |
ThresholdValue | real | No | Value at which the measure trips governance: a percent for margin and discount measures; for credit exposure and order value, an amount in the legal entity's accounting currency, into which every document is converted before comparison. |
CustomerSelector | MGCWardenScopeSelector | No | |
CustomerValue | str | No | Customer account (Table) or customer group (Group); blank for All. |
ItemSelector | MGCWardenScopeSelector | No | |
ItemValue | str | No | Item number (Table) or item group (Group); blank for All. |
Priority | int | No | Tie-break among equally specific threshold lines; lower wins. Two lines of one version for the same measure at the same customer and item scope cannot share a priority: the second is refused when it is saved. |