DOO_POPULAR_ITEMS
Stores aggregated metrics and rankings for popular products based on historical sales order data.
Details
-
Schema: FUSION
-
Object owner: DOO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
DOO_POPULAR_ITEMS_PK |
BUCKET_NUMBER, POPULAR_ITEM_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| POPULAR_ITEM_ID | NUMBER | 18 | Yes | Value that uniquely identifies a popular item in order management. | |
| BUCKET_NUMBER | NUMBER | 4 | Yes | Numeric identifier for the time bucket used to partition and retain summary data. | |
| CATEGORY_CODE | VARCHAR2 | 30 | Code indicating whether the metrics are based on outbound order lines (sales/orders) or inbound order lines (returns). | ||
| INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Item identifier of the popular Item. | |
| ITEM_NUMBER | VARCHAR2 | 300 | Item number of the popular Item. | ||
| CUSTOMER_CLASS_CODE | VARCHAR2 | 30 | Customer classification associated with orders containing the item. | ||
| ORDER_COUNT | NUMBER | 10 | Number of distinct orders that include the item. | ||
| TOTAL_QUANTITY | NUMBER | Total quantity sold for the item. | |||
| TOTAL_REVENUE | NUMBER | Total revenue generated for the item. | |||
| RANK_BY_COUNT | NUMBER | 10 | Rank of the item based on number of orders. | ||
| RANK_BY_REVENUE | NUMBER | 10 | Rank of the item based on total revenue. | ||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created 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. | ||
| 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. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| DOO_POPULAR_ITEMS_N1 | Non Unique | Default | BUCKET_NUMBER, CUSTOMER_CLASS_CODE, CATEGORY_CODE, INVENTORY_ITEM_ID |
| DOO_POPULAR_ITEMS_U1 | Unique | Default | BUCKET_NUMBER, POPULAR_ITEM_ID |