INV_SALES_ORDERS
This table stores sales order numbers and shipment numbers from different outsourcers. For a given outsourcer, sales order number is unique.
Details
-
Schema: FUSION
-
Object owner: INV
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
INV_SALES_ORDERS_PK |
SALES_ORDER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
SALES_ORDER_ID | NUMBER | 18 | Yes | Unique ID to identify the Sales Order that the reservation was created. | |
SOURCE_ORDER_NUMBER | VARCHAR2 | 150 | Identifies the order from the order capture system. | ||
SOURCE_SYSTEM_ID | NUMBER | 18 | Identifies an instance of the source system (e.g. DOO). | ||
SOURCE_ORDER_TYPE_ID | VARCHAR2 | 30 | Yes | Indicates the type of demand source for which reservation is made. | |
SALES_ORDER_NUMBER | VARCHAR2 | 150 | Sales Order identifier for the fulfillment system. | ||
SALES_ORDER_SYSTEM_ID | NUMBER | 18 | Identifies Order Capture system | ||
SOLD_TO_PARTY_ID | NUMBER | 18 | Numeric ID to identify the Customer of the Sales Order. | ||
OUTSOURCER_PARTY_ID | NUMBER | 18 | Identifies the outsourcer for the sales order. | ||
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. | |
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
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_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
INV_SALES_ORDERS | hz_parties | SOLD_TO_PARTY_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
INV_SALES_ORDERS_N1 | Non Unique | FUSION_TS_TX_IDX | SOLD_TO_PARTY_ID |
INV_SALES_ORDERS_N2 | Non Unique | FUSION_TS_TX_IDX | UPPER("SALES_ORDER_NUMBER") |
INV_SALES_ORDERS_U1 | Unique | FUSION_TS_TX_IDX | SALES_ORDER_ID |
INV_SALES_ORDERS_U2 | Unique | FUSION_TS_TX_IDX | SOURCE_SYSTEM_ID, SOURCE_ORDER_NUMBER, SOURCE_ORDER_TYPE_ID |