Skip to main content

MGCWardenSalesGovThresholdEntity

One threshold line of a sales governance policy version: the measure, the customers and items it applies to, the threshold value and a priority. A policy without thresholds governs nothing, so import these with WardenSalesGovPolicies, header first. Lines cannot change while their version is active or pending activation.

  • Public collection name: WardenSalesGovThresholds
  • Primary key: PolicyCode, PolicyVersion, Measure, CustomerSelector, CustomerValue, ItemSelector, ItemValue

Fields​

NameTypeMandatoryDescription
PolicyCodeMGCWardenPolicyCodeYesGuard control policy identifier. One active version per policy code.
PolicyVersionMGCWardenPolicyVersionNumNoEffective-dated policy version number; read-only counter incremented by New version.
MeasureMGCWardenSalesMeasureNo
CustomerSelectorMGCWardenScopeSelectorNo
CustomerValuestrNoCustomer account (Table) or customer group (Group); blank for All.
ItemSelectorMGCWardenScopeSelectorNo
ItemValuestrNoItem number (Table) or item group (Group); blank for All.
ThresholdValuerealNoValue 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.
PriorityintNoTie-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.

Mappings​

Entity fieldData sourceField
PolicyCodeMGCWardenSalesGovPolicyPolicyCode
PolicyVersionMGCWardenSalesGovPolicyPolicyVersion
MeasureMGCWardenSalesGovThresholdMeasure
CustomerSelectorMGCWardenSalesGovThresholdCustomerSelector
CustomerValueMGCWardenSalesGovThresholdCustomerValue
ItemSelectorMGCWardenSalesGovThresholdItemSelector
ItemValueMGCWardenSalesGovThresholdItemValue
ThresholdValueMGCWardenSalesGovThresholdThresholdValue
PriorityMGCWardenSalesGovThresholdPriority