AccountTerritoryAssignmentRuleItem

A row of selection criteria for an AccountTerritoryAssignmentRule object. Available if Sales Territories has been enabled.

AccountTerritoryAssignmentRuleItem can be created or deleted if the BooleanFilter field on its corresponding AccountTerritoryAssignmentRule object is a null value.

Introduced in API version 7.0.

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

  • Users with the View Setup and Configuration permission can access this object. Users with the Manage Territories permission can edit this object.
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The standard or custom account field to use as a criteria.
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The criteria to apply, such as “equals” or “starts with.”
  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: ID of the associated AccountTerritoryAssignmentRule.
  • Relationship name: Rule
  • Relationship type: relationship
  • Refers to: AccountTerritoryAssignmentRule
  • Type: int
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The order in which this row is evaluated compared to other AccountTerritoryAssignmentRuleItem objects for the given AccountTerritoryAssignmentRule.
  • Type: string
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The field value(s) to evaluate, such as 94105 if the Field is Billing Zip/Postal Code.
  • Both standard and custom account fields can be used as criteria for account assignment rules.
  • A territory will not have any accounts (with the exception of manually assigned accounts) unless at least one account assignment rule is active for the territory.