CST_SALES_ORDER_DETAILS
This table contains sales order related information and is used for reporting.
Details
-
Schema: FUSION
-
Object owner: CST
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
CST_SALES_ORDER_DETAILS_PK |
EXTERNAL_SYSTEM_REFERENCE, EXTERNAL_SYSTEM_REF_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| SELLING_LEGAL_ENTITY_ID | NUMBER | 18 | Reference to the unique identifier for the legal entity. | ||
| RMA_REFERENCE_DOO_FLINE_ID | NUMBER | 18 | This column identifies the referenced DOO fulfill line id for RMA transactions. | ||
| DOO_ORDER_CURRENCY | VARCHAR2 | 15 | Currency code captured at the order header level. | ||
| INVENTORY_ORGANIZATION_ID | NUMBER | 18 | Yes | Reference to the unique identifier for the inventory organization. | |
| SELLING_ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
| DOO_ORDER_HEADER_ID | NUMBER | 18 | Unique identifier of the orchestration order. | ||
| DOO_LINE_ID | NUMBER | 18 | Unique identifier of the orchestration order line. | ||
| DOO_UNIT_SELLING_PRICE | NUMBER | 18 | The price per unit that a buyer paid for an item. | ||
| ROOT_PARENT_FULFILL_LINE_ID | NUMBER | 18 | Used in fulfillment line hierarchies (models) to identify the highest fulfillment line in the hierarchy. | ||
| DOO_ORDER_NUMBER | VARCHAR2 | 150 | Reference to the number of the originating sales order. | ||
| DOO_ORDERED_DATE | TIMESTAMP | Date when the items where ordered. | |||
| INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Reference to the unique identifier for the inventory item. | |
| REFERENCED_DOO_FULFILL_LINE_ID | NUMBER | 18 | Used by change management to associate the change order's fulfillment line id with the original order's fulfillment line id. | ||
| PARENT_FULFILL_LINE_ID | NUMBER | 18 | Used in fulfillment line hierarchies (models) to identify the immediate parent fulfillment line. | ||
| BILL_TO_CUSTOMER_ID | NUMBER | 18 | Reference to the unique identifier for the bill-to customer. | ||
| SHIP_TO_CUSTOMER_ID | NUMBER | 18 | Reference to the unique identifier for the ship-to customer. | ||
| CUSTOMER_ID | NUMBER | 18 | Reference to the unique identifier for the sold-to customer. | ||
| SALES_REP_ID | NUMBER | 18 | Identifies the sales representative of the sales order. | ||
| DOO_LINE_NUMBER | NUMBER | 9 | Representation of a sales order line used in communication with fulfillment systems. | ||
| CONVERSION_RATE | VARCHAR2 | 10 | Foreign exchange conversion rate used to convert the transactional currency into the standardized currency in the UI. | ||
| CONVERSION_TYPE_CODE | VARCHAR2 | 30 | Describes how the conversion rate was computed. | ||
| CONVERSION_DATE | DATE | Date that the foreign exchange rate was valid. | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| EXTERNAL_SYSTEM_REFERENCE | VARCHAR2 | 60 | Yes | Identifies the external source system reference. | |
| EXTERNAL_SYSTEM_REF_ID | VARCHAR2 | 450 | Yes | Unique identifier for a fulfillment line. This value is the FULFILL_LINE_ID from the DOO_FULFILL_LINES_ALL table or a concatenated value from the WSH_DELIVERY_DETAILS or RCV_SHIPMENT_HEADERS tables. | |
| 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. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| 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. | ||
| SALES_ORDER_SHIPMENT_NUMBER | VARCHAR2 | 150 | Indicates the sales order shipment number from shipping. | ||
| CUSTOMER_ACCOUNT_ID | NUMBER | 18 | Identifies the customer account of the sales order. | ||
| RECEIPT_ADVICE_NUMBER | VARCHAR2 | 80 | This column stores the unique receipt advice number corresponding to the receipt advice created. Applicable to RMA and flexible supply source documents. | ||
| INVENTORY_INTERFACED_FLAG | VARCHAR2 | 1 | Contains Y, N, or empty. Y: Order management successfully interfaced the fulfillment line to inventory management. N or empty: Order management hasn't interfaced the fulfillment line. Order management updates this attribute when it directly reduces inventory to fulfill the order line. | ||
| BILL_TO_SITE_USE_ID | NUMBER | 18 | Reference to the unique identifier for the bill-to customer location | ||
| SHIP_TO_PARTY_ID | NUMBER | 18 | Reference to the unique identifier for ship-to Party. | ||
| SHIP_TO_PARTY_SITE_ID | NUMBER | 18 | Reference to the unique identifier for the ship-to Party Site. | ||
| SOLD_TO_PARTY_ID | NUMBER | 18 | Reference to the unique identifier for the sold-to Party. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| CST_SALES_ORDER_DETAILS_PK | Unique | Default | EXTERNAL_SYSTEM_REFERENCE, EXTERNAL_SYSTEM_REF_ID |