EGP_CATALOG_CATEGORY_HIERARCHY
This table is used to store the flattened hierarchy for a category.
Details
-
Schema: FUSION
-
Object owner: EGP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
EGP_CATEGORY_HIERARCHY_PK |
CATEGORY_HIERARCHY_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CATEGORY_HIERARCHY_ID | NUMBER | 18 | Yes | Stores the unique identifier for a record in the table. | |
| CATEGORY_SET_ID | NUMBER | 18 | Yes | Collection of items grouped into categories. | |
| REFERENCE_CATEGORY_SET_ID | NUMBER | 18 | Identifier of the source catalog from which the category is reference shared. | ||
| CATALOG_CODE | VARCHAR2 | 30 | Yes | A unique, user readable code for the catalog. | |
| CATEGORY_ID | NUMBER | 18 | Yes | Category belonging to the Item Catalog. | |
| CATEGORY_CODE | VARCHAR2 | 820 | Yes | A unique identification assigned to an item class which can be easily associated with the UNSPC cateory. | |
| PARENT_CATEGORY_ID | NUMBER | 18 | Identifier of the parent category. | ||
| PARENT_CATEGORY_CODE | VARCHAR2 | 820 | A unique identification assigned to an item class which can be easily associated with the UNSPC category. | ||
| 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. | ||
| 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. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| ITEM_CATEGORY_LEVEL | NUMBER | 9 | Stores the category level, to identify hierarchy order. | ||
| CATEGORY_SHARED_FLAG | VARCHAR2 | 1 | Stores the value to indicate whether the category is shared. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| EGP_CATEGORY_HIERARCHY_N1 | Non Unique | Default | CATEGORY_SET_ID, PARENT_CATEGORY_ID |
| EGP_CATEGORY_HIERARCHY_N2 | Non Unique | Default | CATALOG_CODE, PARENT_CATEGORY_CODE |
| EGP_CATEGORY_HIERARCHY_N3 | Non Unique | Default | CATALOG_CODE, CATEGORY_CODE |
| EGP_CATEGORY_HIERARCHY_U1 | Unique | Default | CATEGORY_HIERARCHY_ID |
| EGP_CATEGORY_HIERARCHY_U2 | Unique | Default | CATEGORY_SET_ID, CATEGORY_ID, PARENT_CATEGORY_ID |