MOT_TERR_HIERARCHY_RF_DN
Stores a row flattened denormalized view of the territory hierarchy for active territories.
Details
-
Schema: FUSION
-
Object owner: MOT
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TERR_HIERARCHY_RF_DN_ID | NUMBER | 18 | Yes | Primary Key of MOT_TERR_HIERARCHY_RF_DN table | |
TERRITORY_VERSION_ID | NUMBER | 18 | Yes | Identifier of territory version | |
TERRITORY_ID | NUMBER | 18 | Yes | Identifier of sales territory | |
NAME | VARCHAR2 | 60 | Yes | Name of the territory | |
DESCENDANT_TERR_VERSION_ID | NUMBER | 18 | Yes | Identifier of descendant territory version | |
DESCENDANT_TERRITORY_ID | NUMBER | 18 | Yes | Identifier of descendant sales territory | |
DESCENDANT_NAME | VARCHAR2 | 60 | Yes | Name of the descendant territory | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
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. | |
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). |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MOT_TERR_HIERARCHY_RF_DN_N1 | Non Unique | Default | TERRITORY_ID, DESCENDANT_TERRITORY_ID |
MOT_TERR_HIERARCHY_RF_DN_N2 | Non Unique | Default | DESCENDANT_TERRITORY_ID, TERRITORY_ID |
MOT_TERR_HIERARCHY_RF_DN_PK | Unique | Default | TERR_HIERARCHY_RF_DN_ID |