Sales Territory Rule

An entity that organizes territory dimensions in the form of rules and enables territory definitions that can be either simple territories defined by a single rule or complex ones with multiple rules. This entity, along with territory rule boundary value, stores the dimensions of the territory in an expression form.

QName: {http://xmlns.oracle.com/apps/sales/territoryMgmt/territories/territoryService/}TerritoryRule

Relationships

The following table describes how this service data object is related to other service data objects or business object services.

Relationship Type Object or Service

Contains

Sales Territory Coverage Dimension

Contained by

Sales Territory

Handled by

Sales Territory Service

Handled by

Sales Territory Proposal Service

Attributes

The following table describes attributes in the service data object.

Name Type Description

RuleNumber

long

A unique number within a territory definition.

RuleOperatorCode

string

The code for identifying whether the coverage adds to or removes from the territory's jurisdiction. The accepted values are: EXCLUSION (for rule type EXCLUSION and PARTNER_EXCLUSION) and INCLUSION (for all other rule types, such as REGULAR, INCLUSION, PARTNER_REGULAR, PARTNER_INCLUSION, and INHERITANCE_OVERRIDE)

RuleTypeCode

string

The code for the territory coverage type. If the territory coverage model is sales account centric, the accepted values are: REGULAR (for coverage based on sales account dimensionality or named accounts), INCLUSION (for manually included account coverage), and EXCLUSION (for manually excluded account coverage). If the territory coverage model is partner centric, the accepted values are: PARTNER_REGULAR (for coverage based on partner dimensionality), PARTNER_INCLUSION (for manually included partner coverage), and PARTNER_EXCLUSION (for manually excluded partner coverage). In case of inheritance, if the coverage is for a recipient territory, then the accepted value is INHERITANCE_OVERRIDE which indicates that the coverage overrides some of the inherited dimensionality.

TerrRuleId

long

The unique identifier of the territory rule.
  • Primary Key

TerritoryRuleBoundary1

Sales Territory Rule Boundary

The list of territory rule boundary objects.

TerritoryVersionId

long

The unique identifier of the territory version.