QSC_PROD_GRP_MAPS
This table is used to store a mapping from one product group hierarchy (which could be a graph) to another product group hierarchy (which could be a tree).
Details
-
Schema: FUSION
-
Object owner: QSC
-
Object type: TABLE
-
Tablespace: FUSION_TS_SEED
Primary Key
Name | Columns |
---|---|
QSC_PROD_GRP_MAPS_PK |
PROD_GRP_MAP_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
PROD_GRP_MAP_ID | NUMBER | 18 | Yes | Product Group Map Identifier. Primary Key. | 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 | |
ALGORITHM_TYPE_CODE | VARCHAR2 | 30 | Yes | Algorithm Type Code. | Active | |
MAP_TYPE_CODE | VARCHAR2 | 30 | Yes | Mapping Type Code. | Active | |
SRC_OBJ_TYPE_CODE | VARCHAR2 | 30 | Yes | Source Object Type Code. Can be either Product Group or Product. | Active | |
SRC_OBJ_ID1 | NUMBER | 18 | Yes | Source Product Group Identifier or Source Product's inventory item identifier. | Active | |
SRC_OBJ_ID2 | NUMBER | 18 | Source product's inventory organization identifier. Used only if source object is a product. | Active | ||
TRGT_OBJ_TYPE_CODE | VARCHAR2 | 30 | Mapped object code identifier. Can be either product group or product. | Active | ||
TRGT_ROOT_ID | NUMBER | 18 | Root product group identifier in target hierarchy. | Active | ||
TRGT_PATH_ID | NUMBER | 18 | Persistent identifier of the path from root to the object in target hierarchy. | Active | ||
TRGT_PAR_OBJ_ID | NUMBER | 18 | Immediate parent of the target product group object. | Active | ||
TRGT_OBJ_ID1 | NUMBER | 18 | Mapped product's inventory item identifier or Product Group Identifier | Active | ||
TRGT_OBJ_ID2 | NUMBER | 18 | Target product's inventory organization identifier. Used only if target object is a product. | Active | ||
START_DATE | TIMESTAMP | Yes | Date from which the mapping is active. | Active | ||
END_DATE | TIMESTAMP | Yes | Date after which the mapping is no longer active. | Active | ||
TRGT_DEPTH_NUM | NUMBER | 18 | Depth of the target path. | Active | ||
RECORD_TYPE_CODE | VARCHAR2 | 30 | Used to store the type of search results. | Active | ||
RECORD_TYPE_NUM | NUMBER | 9 | Internal column to determine the type of record. | Active | ||
ADMIN_STATUS_NUM | NUMBER | 9 | Internal column used to store admin status. | Active | ||
RUNTIME_STATUS_NUM | NUMBER | 9 | Internal column used to store runtime status. | Active | ||
BATCH_KEY | VARCHAR2 | 50 | Holds transient information about the batch process that is updating the map. | Active | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
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 |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
QSC_PROD_GRP_MAPS | qsc_prod_groups_b | TRGT_ROOT_ID |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
QSC_PROD_GRP_MAPS_F1 | Non Unique | FUSION_TS_SEED | TRGT_ROOT_ID | |
QSC_PROD_GRP_MAPS_N1 | Non Unique | FUSION_TS_SEED | TRGT_PATH_ID | |
QSC_PROD_GRP_MAPS_N2 | Non Unique | FUSION_TS_SEED | LAST_UPDATE_DATE, PROD_GRP_MAP_ID | |
QSC_PROD_GRP_MAPS_N3 | Non Unique | FUSION_TS_SEED | SRC_OBJ_ID1, SRC_OBJ_ID2 | |
QSC_PROD_GRP_MAPS_N4 | Non Unique | FUSION_TS_SEED | TRGT_OBJ_ID1, TRGT_OBJ_ID2 | |
QSC_PROD_GRP_MAPS_N5 | Non Unique | Default | START_DATE, END_DATE | |
QSC_PROD_GRP_MAPS_N6 | Non Unique | Default | BATCH_KEY | |
QSC_PROD_GRP_MAPS_PK | Unique | FUSION_TS_SEED | PROD_GRP_MAP_ID | Active |