QSC_PROD_GRP_DENORM
This table stores denormalized product group relationships storing the path details from a parent or root node to a descendant node.
Details
-
Schema: FUSION
-
Object owner: QSC
-
Object type: TABLE
-
Tablespace: FUSION_TS_SEED
Primary Key
Name | Columns |
---|---|
QSC_PROD_GRP_DENORM_PK |
PROD_GRP_DENORM_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
PROD_GRP_DENORM_ID | NUMBER | 18 | Yes | Product Group Denorm Identifier. | Active | |
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. | Active | |
FIRST_PROD_GRP_ID | NUMBER | 18 | Yes | Product Group Identifier for the first node in the path. | Active | |
LAST_PROD_GRP_ID | NUMBER | 18 | Yes | Product Group Identifier for the last node in the path. | Active | |
SECOND_LAST_PROD_GRP_ID | NUMBER | 18 | Product Group Identifier for the penultimate node in the path. | Active | ||
DENORM_DISTANCE_NUM | NUMBER | 18 | Distance/Level from the first product group to the last product group in the path. | Active | ||
PATH_ID | NUMBER | 18 | Persistent identifier for the path | Active | ||
CONCAT_PATH | VARCHAR2 | 500 | Concatenation of the node identifiers participating in the path. | Active | ||
START_DATE | TIMESTAMP | Yes | Accumulated effective start date of the path. | Active | ||
END_DATE | TIMESTAMP | Yes | Accumulated effective end date of the path. | Active | ||
ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Accumulated active flag on any node in the path. | Active | |
REL_ACTIVE_FLAG | VARCHAR2 | 1 | Active Flag of the product group relationship. | |||
REL_START_DATE | TIMESTAMP | Start Date of the product group relationship. | ||||
REL_END_DATE | TIMESTAMP | End Date of the product group relationship. | ||||
DEFAULT_FLAG | VARCHAR2 | 1 | Yes | Flag to indicate path marked as a default path. | Active | |
UI_COLLAPSE_FLAG | VARCHAR2 | 1 | Accumulated Collapse Flag for a node on the path. | Active | ||
CONCAT_DISPLAY_ORDER_PATH | VARCHAR2 | 100 | Concatenated Display Order Sequence for node identifiers in the path. By default this column is only populated for UI collapsed path. | Active | ||
RUNTIME_STATUS_NUM | NUMBER | 9 | Column for internal use. Used to store runtime status codes. | Active | ||
ADMIN_STATUS_NUM | NUMBER | 9 | Column for internal use. Used to store admin status. | Active | ||
BATCH_KEY | VARCHAR2 | 50 | Column for internal use. Used to store transient information about the batch process that is updating denormalization data based on the value in a group. | Active | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | |||
JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name 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. | Active | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
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). | Active | |||
USED_IN_TERR_FILTERING_FLAG | VARCHAR2 | 1 | Flag to indicate if the path is part of territory filtering |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
QSC_PROD_GRP_DENORM | qsc_prod_groups_b | FIRST_PROD_GRP_ID |
QSC_PROD_GRP_DENORM | qsc_prod_groups_b | LAST_PROD_GRP_ID |
QSC_PROD_GRP_DENORM | qsc_prod_groups_b | SECOND_LAST_PROD_GRP_ID |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
QSC_PROD_GRP_DENORM_F1 | Non Unique | FUSION_TS_SEED | FIRST_PROD_GRP_ID | Obsolete |
QSC_PROD_GRP_DENORM_F2 | Non Unique | FUSION_TS_SEED | LAST_PROD_GRP_ID | Obsolete |
QSC_PROD_GRP_DENORM_F4 | Non Unique | FUSION_TS_SEED | SECOND_LAST_PROD_GRP_ID | |
QSC_PROD_GRP_DENORM_N1 | Non Unique | FUSION_TS_SEED | LAST_UPDATE_DATE, PROD_GRP_DENORM_ID | |
QSC_PROD_GRP_DENORM_N10 | Non Unique | Default | FIRST_PROD_GRP_ID, CONCAT_DISPLAY_ORDER_PATH | |
QSC_PROD_GRP_DENORM_N2 | Non Unique | FUSION_TS_SEED | PATH_ID | |
QSC_PROD_GRP_DENORM_N3 | Non Unique | Default | BATCH_KEY | Obsolete |
QSC_PROD_GRP_DENORM_N4 | Non Unique | Default | START_DATE, END_DATE, ACTIVE_FLAG, RUNTIME_STATUS_NUM | |
QSC_PROD_GRP_DENORM_N5 | Non Unique | Default | FIRST_PROD_GRP_ID, LAST_PROD_GRP_ID | |
QSC_PROD_GRP_DENORM_N6 | Non Unique | Default | LAST_PROD_GRP_ID, ACTIVE_FLAG, END_DATE, START_DATE, FIRST_PROD_GRP_ID | |
QSC_PROD_GRP_DENORM_N7 | Non Unique | Default | LAST_PROD_GRP_ID, REL_ACTIVE_FLAG, REL_END_DATE, REL_START_DATE, FIRST_PROD_GRP_ID | |
QSC_PROD_GRP_DENORM_N8 | Non Unique | Default | BATCH_KEY, FIRST_PROD_GRP_ID, LAST_PROD_GRP_ID, ADMIN_STATUS_NUM, REL_START_DATE, REL_END_DATE, REL_ACTIVE_FLAG | |
QSC_PROD_GRP_DENORM_N9 | Non Unique | Default | REL_START_DATE, REL_END_DATE, REL_ACTIVE_FLAG, ADMIN_STATUS_NUM | |
QSC_PROD_GRP_DENORM_PK | Unique | FUSION_TS_SEED | PROD_GRP_DENORM_ID |