MOT_TERR_BNDRY_VALS_DN
This entity stores the boundary and sequence values for all territory dimensions, even the dimensions that are not enabled. Information is stored only for active and draft territories.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MOT_TERR_BNDRY_VALS_DN_PK |
PARTITION_ID, TERR_RULE_BNDRY_VALS_DN_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TERR_RULE_BNDRY_VALS_DN_ID | NUMBER | 18 | Yes | Primary Key | |
PARTITION_ID | NUMBER | 18 | Yes | Identifier for Dimension Partition | |
TERRITORY_ID | NUMBER | 18 | Yes | Identifier for sales territory | |
TERRITORY_VERSION_ID | NUMBER | 18 | Yes | Identifier for sales territory version | |
TERR_TYPE_CODE | VARCHAR2 | 30 | Yes | Identifier for territory type | |
TERRITORY_FUNCTION_CODE | VARCHAR2 | 30 | Business function associated with the territory. | ||
TERR_STATUS_CODE | VARCHAR2 | 30 | Yes | Indicates the status the territory is in. | |
COVERAGE_MODEL | VARCHAR2 | 30 | Yes | Identifies whether the territory dimensionality is based on sales account attributes or partner attributes. | |
PARTNER_ID | NUMBER | 18 | Identifier for partner associated to the territory | ||
PARTNER_PROGRAM_ID | NUMBER | 18 | Identifier for specific program that a partner is participating in | ||
TERR_RULE_ID | NUMBER | 18 | Yes | Identifier for Sales Territory Rule | |
RULE_TYPE_CODE | VARCHAR2 | 30 | Yes | Identifier for the type of rule, also known as coverage type. | |
RULE_OPERATOR_CODE | VARCHAR2 | 30 | Yes | Identifies whether the rule is inclusion or exclusion | |
TERR_RULE_BOUNDARY_ID | NUMBER | 18 | Identifier for Sales Territory Rule Boundary | ||
TERR_DIMENSION_CODE | VARCHAR2 | 5 | Yes | Identifier for territory dimension | |
TERR_RULE_BNDRY_VALUE_ID | NUMBER | 18 | Identifier for Sales Territory Rule Boundary Value | ||
TERR_DIM_INTG_ID | VARCHAR2 | 80 | Identifier for Integration id of the low value | ||
TERR_DIM_HIGH_INTG_ID | VARCHAR2 | 80 | Identifier for Integration id of the high value in case of range | ||
TERR_DIM_INTG_SEQ_LOW | NUMBER | 18 | Yes | Identifier for low sequence value | |
TERR_DIM_INTG_SEQ_HIGH | NUMBER | 18 | Yes | Identifier for high sequence value | |
TERR_DIM_NODE_INTG_ID | VARCHAR2 | 80 | Identifier for Accounts and Partners attached explicitly through inclusion or exclusion coverage. | ||
TERR_DIM_NODE_RANGE_LOW_NAME | VARCHAR2 | 360 | Identifier for low member name in case of range | ||
TERR_DIM_NODE_RANGE_HIGH_NAME | VARCHAR2 | 360 | Identifier for high member name in case of range | ||
TERR_DIM_NODE_PARENT_INTG_ID | VARCHAR2 | 80 | Identifier for Parent Integration id of the low value in case of range | ||
INCLUDE_HIERARCHY_FLAG | VARCHAR2 | 1 | Yes | Identifies whether the customer or sales account is included in the territory coverage along with its hierarchy. | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
ADDRESS_COUNTRY | VARCHAR2 | 3 | Country | ||
ADDRESS_STATE | VARCHAR2 | 60 | State | ||
ADDRESS_PROVINCE | VARCHAR2 | 60 | Province | ||
ADDRESS_COUNTY | VARCHAR2 | 60 | County | ||
ADDRESS_CITY | VARCHAR2 | 60 | City | ||
ADDRESS_POSTAL_CODE | VARCHAR2 | 60 | Postal Code | ||
ADDRESS_HIGH_POSTAL_CODE | VARCHAR2 | 60 | Postal Code | ||
ADDR_ELEMENT_ATTRIBUTE1 | VARCHAR2 | 150 | Additional address element to support flexible address format | ||
ADDR_ELEMENT_ATTRIBUTE2 | VARCHAR2 | 150 | Additional address element to support flexible address format | ||
ADDR_ELEMENT_ATTRIBUTE3 | VARCHAR2 | 150 | Additional address element to support flexible address format | ||
ADDR_ELEMENT_ATTRIBUTE4 | VARCHAR2 | 150 | Additional address element to support flexible address format | ||
ADDR_ELEMENT_ATTRIBUTE5 | VARCHAR2 | 150 | Additional address element to support flexible address format | ||
ADDR_OPERATOR_CODE | VARCHAR2 | 60 | Address Operator Code | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CONFLICT_ID | NUMBER | 18 | Yes | Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). | |
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_TERR_BNDRY_VALS_DN_N1 | Non Unique | Default | PARTITION_ID, TERRITORY_VERSION_ID |
MOT_TERR_BNDRY_VALS_DN_N10 | Non Unique | Default | PARTITION_ID, TERR_DIMENSION_CODE, TERR_DIM_NODE_INTG_ID, TERR_DIM_INTG_ID, TERR_DIM_HIGH_INTG_ID |
MOT_TERR_BNDRY_VALS_DN_N11 | Non Unique | Default | PARTITION_ID, TERR_DIMENSION_CODE, ADDR_OPERATOR_CODE, ADDRESS_COUNTRY, ADDRESS_POSTAL_CODE, ADDRESS_HIGH_POSTAL_CODE, ADDRESS_CITY, ADDRESS_STATE, ADDRESS_COUNTY, ADDRESS_PROVINCE, ADDR_ELEMENT_ATTRIBUTE1, ADDR_ELEMENT_ATTRIBUTE2, ADDR_ELEMENT_ATTRIBUTE3, ADDR_ELEMENT_ATTRIBUTE4, ADDR_ELEMENT_ATTRIBUTE5, TERR_STATUS_CODE, COVERAGE_MODEL, RULE_TYPE_CODE, TERR_TYPE_CODE, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_RULE_BNDRY_VALS_DN_ID |
MOT_TERR_BNDRY_VALS_DN_N2 | Non Unique | Default | PARTITION_ID, TERRITORY_ID, TERR_STATUS_CODE |
MOT_TERR_BNDRY_VALS_DN_N3 | Non Unique | Default | PARTITION_ID, TERR_RULE_ID, TERR_DIMENSION_CODE, TERR_RULE_BNDRY_VALUE_ID, TERR_DIM_NODE_INTG_ID, TERR_DIM_HIGH_INTG_ID, TERR_DIM_NODE_RANGE_HIGH_NAME, TERR_DIM_NODE_RANGE_LOW_NAME |
MOT_TERR_BNDRY_VALS_DN_N4 | Non Unique | Default | PARTITION_ID, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_STATUS_CODE, TERR_DIMENSION_CODE, TERR_DIM_INTG_SEQ_LOW, TERR_DIM_INTG_SEQ_HIGH |
MOT_TERR_BNDRY_VALS_DN_N5 | Non Unique | Default | PARTITION_ID, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_STATUS_CODE, TERR_DIMENSION_CODE, TERR_DIM_NODE_INTG_ID, TERR_DIM_NODE_RANGE_HIGH_NAME, TERR_DIM_NODE_RANGE_LOW_NAME |
MOT_TERR_BNDRY_VALS_DN_N7 | Non Unique | Default | PARTITION_ID, TERR_DIMENSION_CODE, TERR_STATUS_CODE, TERR_DIM_NODE_INTG_ID, INCLUDE_HIERARCHY_FLAG, COVERAGE_MODEL, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_RULE_BNDRY_VALS_DN_ID, TERR_TYPE_CODE |
MOT_TERR_BNDRY_VALS_DN_N8 | Non Unique | Default | PARTITION_ID, TERR_DIMENSION_CODE, TERR_STATUS_CODE, TERR_DIM_INTG_SEQ_LOW, TERR_DIM_INTG_SEQ_HIGH, COVERAGE_MODEL, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_RULE_BNDRY_VALS_DN_ID, TERR_TYPE_CODE, RULE_TYPE_CODE |
MOT_TERR_BNDRY_VALS_DN_N9 | Non Unique | Default | PARTITION_ID, TERR_DIMENSION_CODE, TERR_DIM_NODE_INTG_ID, TERR_STATUS_CODE, COVERAGE_MODEL, RULE_TYPE_CODE, TERR_TYPE_CODE, TERR_DIM_NODE_RANGE_HIGH_NAME, TERR_DIM_NODE_RANGE_LOW_NAME, TERRITORY_ID, TERRITORY_VERSION_ID, TERR_RULE_ID, TERR_RULE_BNDRY_VALS_DN_ID |
MOT_TERR_BNDRY_VALS_DN_PK | Unique | Default | PARTITION_ID, TERR_RULE_BNDRY_VALS_DN_ID |