DOO_CUSTOMER_METRICS
This table contains periodic customer-level order performance metrics, including revenue, margin, cancellation, return, fulfillment, and derived scores, by processing bucket.
Details
-
Schema: FUSION
-
Object owner: DOO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
DOO_CUSTOMER_METRICS_PK |
BUCKET_NUMBER, CUST_METRIC_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CUST_METRIC_ID | NUMBER | 18 | Yes | Unique identifier for the customer metrics record. | |
| DIMENSION_ID | NUMBER | 18 | Yes | Identifier of the customer metric dimension or segment used for metrics aggregation. | |
| BUCKET_NUMBER | NUMBER | 4 | Yes | Processing or partition bucket number for the metrics snapshot. | |
| PARTY_ID | NUMBER | 18 | Yes | Reference to the unique identifier for customer. | |
| REVENUE_AMOUNT | NUMBER | Total revenue amount associated with the customer for the metric period. | |||
| MARGIN_AMOUNT | NUMBER | Total margin amount associated with the customer for the metric period. | |||
| CANCELED_LINES_COUNT | NUMBER | 10 | Number of canceled order lines for the customer. | ||
| RETURN_LINES_COUNT | NUMBER | 10 | Number of returned order lines for the customer. | ||
| SHIPPED_LINES_COUNT | NUMBER | 10 | Number of shipped order lines for the customer. | ||
| TOTAL_LINES_COUNT | NUMBER | 10 | Total number of order lines considered for metrics calculation. | ||
| OPEN_ORDERS_COUNT | NUMBER | 10 | Number of currently open orders for the customer. | ||
| LAST_CANCELED_DATE | DATE | Stores the most recent date when an order line was canceled for the customer. | |||
| LAST_RETURN_DATE | DATE | Stores the most recent date when an order line was returned for the customer. | |||
| CANCEL_RATE | NUMBER | Customer specific cancellation rate. | |||
| CANCEL_RATIO | NUMBER | Stores the ratio of customer cancellations compared to the benchmark. | |||
| CANCEL_SCORE | NUMBER | 4 | Stores the normalized score derived from cancellation behavior. | ||
| RETURN_RATE | NUMBER | Customer specific return rate percent. | |||
| RETURN_RATIO | NUMBER | Stores the ratio comparing customer return behavior to a baseline. | |||
| RETURN_SCORE | NUMBER | 4 | Stores the normalized score derived from return behavior. | ||
| 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_CUSTOMER_METRICS_N1 | Non Unique | Default | BUCKET_NUMBER, DIMENSION_ID, PARTY_ID |
| DOO_CUSTOMER_METRICS_U1 | Unique | Default | BUCKET_NUMBER, CUST_METRIC_ID |