ZSF_FCST_TERR_HIER_DN
This is a snapshot of the mot_terr_hierarchy_dn table stored for forecasting purpose
Details
-
Schema: FUSION
-
Object owner: ZSF
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
ZSF_FCST_TERR_HIER_DN_PK |
FCST_TERR_DENORM_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
FCST_TERR_DENORM_ID | NUMBER | 18 | Yes | This has the primary key for the zsf_fcst_terr_hier_dn table | |
DENORM_VERSION_ID | NUMBER | 18 | This has the version id for the denorm table pointing to a particular hierarchy | ||
TERRITORY_ID | NUMBER | 18 | This has the territory id of the active hierarchy referenced | ||
DESCENDANT_TERRITORY_ID | NUMBER | 18 | This has descendant territory ID for the territory id | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of 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. | |
USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
ZSF_FCST_TERR_HIER_DN_N1 | Non Unique | Default | DESCENDANT_TERRITORY_ID, DENORM_VERSION_ID |
ZSF_FCST_TERR_HIER_DN_N2 | Non Unique | Default | DENORM_VERSION_ID, DESCENDANT_TERRITORY_ID, TERRITORY_ID |
ZSF_FCST_TERR_HIER_DN_N3 | Non Unique | Default | TERRITORY_ID, DENORM_VERSION_ID, DESCENDANT_TERRITORY_ID |
ZSF_FCST_TERR_HIER_DN_U1 | Unique | Default | FCST_TERR_DENORM_ID |