MGCWardenPolicyScopeEntity
One scope line of a guard control policy version: the items and accounts it covers (all, a group or one value), with a priority. Import and export it with WardenGuardPolicies, header first, as the line finds its policy by PolicyCode and PolicyVersion. Lines cannot change while their version is active or pending activation.
- Public collection name:
WardenGuardPolicyScopes
- Primary key:
PolicyCode, PolicyVersion, ItemSelector, ItemValue, AccountSelector, AccountValue
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. |
AccountSelector | MGCWardenScopeSelector | No | |
AccountValue | str | No | Vendor/customer account (Table) or group (Group); blank for All. |
Priority | int | No | Tie-break among equally specific scope lines; lower wins. |
Mappings
| Entity field | Data source | Field |
|---|
PolicyCode | MGCWardenPolicy | PolicyCode |
PolicyVersion | MGCWardenPolicy | PolicyVersion |
ItemSelector | MGCWardenPolicyScope | ItemSelector |
ItemValue | MGCWardenPolicyScope | ItemValue |
AccountSelector | MGCWardenPolicyScope | AccountSelector |
AccountValue | MGCWardenPolicyScope | AccountValue |
Priority | MGCWardenPolicyScope | Priority |