Skip to main content

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​

NameTypeMandatoryDescription
PolicyCodeMGCWardenPolicyCodeYesGuard control policy identifier. One active version per policy code.
PolicyVersionMGCWardenPolicyVersionNumNoEffective-dated policy version number; read-only counter incremented by New version.
ItemSelectorMGCWardenScopeSelectorNo
ItemValuestrNoItem number (Table) or item group (Group); blank for All.
AccountSelectorMGCWardenScopeSelectorNo
AccountValuestrNoVendor/customer account (Table) or group (Group); blank for All.
PriorityintNoTie-break among equally specific scope lines; lower wins.

Mappings​

Entity fieldData sourceField
PolicyCodeMGCWardenPolicyPolicyCode
PolicyVersionMGCWardenPolicyPolicyVersion
ItemSelectorMGCWardenPolicyScopeItemSelector
ItemValueMGCWardenPolicyScopeItemValue
AccountSelectorMGCWardenPolicyScopeAccountSelector
AccountValueMGCWardenPolicyScopeAccountValue
PriorityMGCWardenPolicyScopePriority