XCC_SEG_VAL_HIER_SNAPSHOT
This table is used by the refresh tree for budgetary control process to keep a snapshot of the row-flattened tree version against which the updated tree version can be compared.
Details
-
Schema: FUSION
-
Object owner: XCC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
XCC_SEG_VAL_HIER_SNAPSHOT_PK |
ENTERPRISE_ID, TREE_STRUCTURE_CODE, TREE_CODE, TREE_VERSION_ID, TREE_NODE_ID, RF_TREE_NODE_ID, CONTROL_BUDGET_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| ENTERPRISE_ID | NUMBER | 18 | Yes | Identifies the enterprise used in multiple tenancy partitioning. | |
| TREE_STRUCTURE_CODE | VARCHAR2 | 30 | Yes | Code to identify the tree structure. | |
| TREE_CODE | VARCHAR2 | 30 | Yes | Code that identifies the tree in the tree structure. | |
| TREE_VERSION_ID | VARCHAR2 | 32 | Yes | Identifies the version of the tree. | |
| TREE_NODE_ID | VARCHAR2 | 32 | Yes | Identifies the tree node in the tree version. | |
| RF_TREE_NODE_ID | VARCHAR2 | 32 | Yes | Identifies the parent tree node in the tree version. | |
| CONTROL_BUDGET_ID | NUMBER | 18 | Yes | Identifies the control budget used. | |
| DATA_SOURCE_ID | VARCHAR2 | 32 | Yes | Identifies the data source for the tree node. | |
| PK1_VALUE | VARCHAR2 | 100 | Primary key identifier for the tree node. | ||
| PK2_VALUE | VARCHAR2 | 100 | Primary key identifier for the tree node. | ||
| PK3_VALUE | VARCHAR2 | 100 | Primary key identifier for the tree node. | ||
| PK4_VALUE | VARCHAR2 | 100 | Primary key identifier for the tree node. | ||
| PK5_VALUE | VARCHAR2 | 100 | Primary key identifier for the tree node. | ||
| TREE_LABEL_ID | VARCHAR2 | 32 | Identifies the tree label used in the tree version. | ||
| ANCESTOR_TREE_NODE_ID | VARCHAR2 | 32 | Identifies the ancestor tree node. | ||
| ANCESTOR_DATA_SOURCE_ID | VARCHAR2 | 32 | Identifies the ancestor tree node data source. | ||
| ANCESTOR_PK1_VALUE | VARCHAR2 | 100 | Primary key identifier for the ancestor tree node. | ||
| ANCESTOR_PK2_VALUE | VARCHAR2 | 100 | Primary key identifier for the ancestor tree node. | ||
| ANCESTOR_PK3_VALUE | VARCHAR2 | 100 | Primary key identifier for the ancestor tree node. | ||
| ANCESTOR_PK4_VALUE | VARCHAR2 | 100 | Primary key identifier for the ancestor tree node. | ||
| ANCESTOR_PK5_VALUE | VARCHAR2 | 100 | Primary key identifier for the ancestor tree node. | ||
| ANCESTOR_TREE_LABEL_ID | VARCHAR2 | 32 | Identifies the ancestor tree label used in the tree version. | ||
| DISTANCE | NUMBER | 18 | Yes | Distance between the tree node and the ancestor tree node. | |
| IS_LEAF | VARCHAR2 | 1 | Yes | Identifies if the tree node is a child or parent. | |
| 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_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. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| XCC_SEG_VAL_HIER_SNAPSHOT_N1 | Non Unique | Default | CONTROL_BUDGET_ID, TREE_VERSION_ID |
| XCC_SEG_VAL_HIER_SNAPSHOT_U1 | Unique | Default | ENTERPRISE_ID, TREE_STRUCTURE_CODE, TREE_CODE, TREE_VERSION_ID, TREE_NODE_ID, RF_TREE_NODE_ID, CONTROL_BUDGET_ID |