MOT_TERR_HIERARCHY_CF_DN

Stores a denormalized view of the territory hierarchy for active, historical and future hierarchies. This entity enhances performance when there is a need to look up or down Territory hierarchies. For e.g. while determining the child territories for a territory owner or while resolving access control.

Details

  • Schema: FUSION

  • Object owner: MOT

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

MOT_TERR_HIERARCHY_CF_DN_PK

TERR_HIERARCHY_CF_DN_ID

Columns

Name Datatype Length Precision Not-null Comments Status
TERR_HIERARCHY_CF_DN_ID NUMBER 18 Yes Primary Key
LEVEL11_TERR_VER_ID NUMBER 18 Identifier of territory version at level 12
LEVEL11_TERR_ID NUMBER 18 Identifier of territory at level 12
LEVEL12_TERR_VER_ID NUMBER 18 Identifier of territory version at level 13
LEVEL12_TERR_ID NUMBER 18 Identifier of territory at level 13
LEVEL13_TERR_VER_ID NUMBER 18 Identifier of territory version at level 14
LEVEL13_TERR_ID NUMBER 18 Identifier of territory at level 14
LEVEL14_TERR_VER_ID NUMBER 18 Identifier of territory version at level 15
LEVEL14_TERR_ID NUMBER 18 Identifier of territory at level 15
LEVEL15_TERR_VER_ID NUMBER 18 Identifier of territory version at level 16
LEVEL15_TERR_ID NUMBER 18 Identifier of territory at level 16
LEVEL16_TERR_VER_ID NUMBER 18 Identifier of territory version at level 17
LEVEL16_TERR_ID NUMBER 18 Identifier of territory at level 17
CURRENT_FLAG VARCHAR2 1 Current Flag
FIXED_HIERARCHY_LEVEL NUMBER 18 Fixed Hierarchy Level
HIERARCHY_START_DATE TIMESTAMP Hierarchy Start Date
HIERARCHY_END_DATE TIMESTAMP Hierarchy End Date
TOP_LEVEL_TERR_ID NUMBER 18 Identifier of territory at top level
TOP_LEVEL_TERR_VER_ID NUMBER 18 Identifier of territory version at top level
TOP_LEVEL_TERR_INTG_ID NUMBER 18 TOP_LEVEL_TERR_INTG_ID Obsolete
TOP_LEVEL_TERR_NAME VARCHAR2 60 TOP_LEVEL_TERR_NAME Obsolete
TOP_LEVEL_TERR_OWNER VARCHAR2 60 TOP_LEVEL_TERR_OWNER Obsolete
LEVEL10_TERR_ID NUMBER 18 Identifier of territory at level 11
LEVEL10_TERR_VER_ID NUMBER 18 Identifier of territory version at level 11
LEVEL10_TERR_INTG_ID NUMBER 18 LEVEL10_TERR_INTG_ID Obsolete
LEVEL10_TERR_NAME VARCHAR2 60 LEVEL10_TERR_NAME Obsolete
LEVEL10_TERR_OWNER VARCHAR2 60 LEVEL10_TERR_OWNER Obsolete
LEVEL9_TERR_ID NUMBER 18 Identifier of territory at level 10
LEVEL9_TERR_VER_ID NUMBER 18 Identifier of territory version at level 10
LEVEL9_TERR_INTG_ID NUMBER 18 LEVEL9_TERR_INTG_ID Obsolete
LEVEL9_TERR_NAME VARCHAR2 60 LEVEL9_TERR_NAME Obsolete
LEVEL9_TERR_OWNER VARCHAR2 60 LEVEL9_TERR_OWNER Obsolete
LEVEL8_TERR_ID NUMBER 18 Identifier of territory at level 9
LEVEL8_TERR_VER_ID NUMBER 18 Identifier of territory version at level 9
LEVEL8_TERR_INTG_ID NUMBER 18 LEVEL8_TERR_INTG_ID Obsolete
LEVEL8_TERR_NAME VARCHAR2 60 LEVEL8_TERR_NAME Obsolete
LEVEL8_TERR_OWNER VARCHAR2 60 LEVEL8_TERR_OWNER Obsolete
LEVEL7_TERR_ID NUMBER 18 Identifier of territory at level 8
LEVEL7_TERR_VER_ID NUMBER 18 Identifier of territory version at level 8
LEVEL7_TERR_INTG_ID NUMBER 18 LEVEL7_TERR_INTG_ID Obsolete
LEVEL7_TERR_NAME VARCHAR2 60 LEVEL7_TERR_NAME Obsolete
LEVEL7_TERR_OWNER VARCHAR2 60 LEVEL7_TERR_OWNER Obsolete
LEVEL6_TERR_ID NUMBER 18 Identifier of territory at level 7
LEVEL6_TERR_VER_ID NUMBER 18 Identifier of territory version at level 7
LEVEL6_TERR_INTG_ID NUMBER 18 LEVEL6_TERR_INTG_ID Obsolete
LEVEL6_TERR_NAME VARCHAR2 60 LEVEL6_TERR_NAME Obsolete
LEVEL6_TERR_OWNER VARCHAR2 60 LEVEL6_TERR_OWNER Obsolete
LEVEL5_TERR_ID NUMBER 18 Identifier of territory at level 6
LEVEL5_TERR_VER_ID NUMBER 18 Identifier of territory version at level 6
LEVEL5_TERR_INTG_ID NUMBER 18 LEVEL5_TERR_INTG_ID Obsolete
LEVEL5_TERR_NAME VARCHAR2 60 LEVEL5_TERR_NAME Obsolete
LEVEL5_TERR_OWNER VARCHAR2 60 LEVEL5_TERR_OWNER Obsolete
LEVEL4_TERR_ID NUMBER 18 Identifier of territory at level 5
LEVEL4_TERR_VER_ID NUMBER 18 Identifier of territory version at level 5
LEVEL4_TERR_INTG_ID NUMBER 18 LEVEL4_TERR_INTG_ID Obsolete
LEVEL4_TERR_NAME VARCHAR2 60 LEVEL4_TERR_NAME Obsolete
LEVEL4_TERR_OWNER VARCHAR2 60 LEVEL4_TERR_OWNER Obsolete
LEVEL3_TERR_ID NUMBER 18 Identifier of territory at level 4
LEVEL3_TERR_VER_ID NUMBER 18 Identifier of territory version at level 4
LEVEL3_TERR_INTG_ID NUMBER 18 LEVEL3_TERR_INTG_ID Obsolete
LEVEL3_TERR_NAME VARCHAR2 60 LEVEL3_TERR_NAME Obsolete
LEVEL3_TERR_OWNER VARCHAR2 60 LEVEL3_TERR_OWNER Obsolete
LEVEL2_TERR_ID NUMBER 18 Identifier of territory at level 3
LEVEL2_TERR_VER_ID NUMBER 18 Identifier of territory version at level 3
LEVEL2_TERR_INTG_ID NUMBER 18 LEVEL2_TERR_INTG_ID Obsolete
LEVEL2_TERR_NAME VARCHAR2 60 LEVEL2_TERR_NAME Obsolete
LEVEL2_TERR_OWNER VARCHAR2 60 LEVEL2_TERR_OWNER Obsolete
LEVEL1_TERR_ID NUMBER 18 Identifier of territory at level 2
LEVEL1_TERR_VER_ID NUMBER 18 Identifier of territory version at level 2
LEVEL1_TERR_INTG_ID NUMBER 18 LEVEL1_TERR_INTG_ID Obsolete
LEVEL1_TERR_NAME VARCHAR2 60 LEVEL1_TERR_NAME Obsolete
LEVEL1_TERR_OWNER VARCHAR2 60 LEVEL1_TERR_OWNER Obsolete
BASE_TERR_ID NUMBER 18 Identifier of territory at base level
BASE_TERR_VER_ID NUMBER 18 Identifier of territory version at base level
BASE_TERR_INTG_ID NUMBER 18 BASE_TERR_INTG_ID Obsolete
BASE_TERR_NAME VARCHAR2 60 BASE_TERR_NAME Obsolete
BASE_TERR_OWNER VARCHAR2 60 BASE_TERR_OWNER Obsolete
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.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
LAST_REFRESH_DATE TIMESTAMP Date when the last batch process ran.

Indexes

Index Uniqueness Tablespace Columns
MOT_TERR_HIERARCHY_CF_DN_N1 Non Unique Default LAST_UPDATE_DATE
MOT_TERR_HIERARCHY_CF_DN_N2 Non Unique Default BASE_TERR_ID
MOT_TERR_HIERARCHY_CF_DN_N3 Non Unique Default FIXED_HIERARCHY_LEVEL
MOT_TERR_HIERARCHY_CF_DN_PK Unique Default TERR_HIERARCHY_CF_DN_ID