MGCWardenPriceGuardScopeEntity
One scope line of a price guard policy version: the items and customers the price floor applies to, with a priority. A policy with no scope lines guards nothing, so import these with WardenPriceGuardPolicies, header first. Lines cannot change while their version is active or pending activation.
- Public collection name:
WardenPriceGuardScopes
- Primary key:
PolicyCode, PolicyVersion, ItemSelector, ItemValue, CustomerSelector, CustomerValue
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. |
ItemSelector | MGCWardenScopeSelector | No | |
ItemValue | str | No | Item number (Table) or item group (Group); blank for All. |
CustomerSelector | MGCWardenScopeSelector | No | |
CustomerValue | str | No | Customer account (Table) or customer group (Group); blank for All. |
Priority | int | No | Tie-break among equally specific scope lines; lower wins. |
Mappings
| Entity field | Data source | Field |
|---|
PolicyCode | MGCWardenPriceGuardPolicy | PolicyCode |
PolicyVersion | MGCWardenPriceGuardPolicy | PolicyVersion |
ItemSelector | MGCWardenPriceGuardScope | ItemSelector |
ItemValue | MGCWardenPriceGuardScope | ItemValue |
CustomerSelector | MGCWardenPriceGuardScope | CustomerSelector |
CustomerValue | MGCWardenPriceGuardScope | CustomerValue |
Priority | MGCWardenPriceGuardScope | Priority |