MSS_DEMANDS
This table stores the denormalized demand order and demand line-item information for demand events.
Details
-
Schema: FUSION
-
Object owner: MSS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MSS_DEMANDS_PK |
PLAN_ID, DEMAND_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PLAN_ID | NUMBER | 18 | Yes | Identifier of the Production Scheduling plan. | |
DEMAND_ID | NUMBER | 18 | Yes | Refers to the external demand event. | |
DEMAND_NUMBER | VARCHAR2 | 240 | Yes | Indicates the demand order number. | |
DEMAND_LINE_ITEM_NUMBER | VARCHAR2 | 150 | Yes | Indicates the demand line-item number. | |
DEMAND_HEADER_ID | NUMBER | 18 | Reference to the identifier for the source demand order. | ||
DEMAND_LINE_ID | NUMBER | 18 | Reference to the identifier for the source demand order line. | ||
TRANSFER_ORDER_HEADER_ID | NUMBER | 18 | Reference to the transfer order header unique identifier. | ||
FOLDER_PATH | VARCHAR2 | 300 | Path to the folder where the demand order is located. | ||
INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Refers to the inventory item of the line-item. Foreign key to MSS_INVENTORY_ITEMS. | |
QUANTITY | NUMBER | Yes | Quantity for the demand line-item. | ||
SHIP_COMPLETE_FLAG | VARCHAR2 | 1 | Ship complete flag of the demand order: Y|N. | ||
CUSTOMER_NUMBER | VARCHAR2 | 240 | Customer (partner) number of the demand order. | ||
CUSTOMER_NAME | VARCHAR2 | 300 | Customer name of the demand order. | ||
SHIP_TO_ADDRESS | VARCHAR2 | 240 | Address to ship to of the demand order (multiple lines). | ||
DEMAND_TYPE | VARCHAR2 | 30 | Indicates the type of the demand order, e.g. 'Order', 'Forecast', 'Safety'. | ||
DEMAND_STATUS | VARCHAR2 | 30 | Yes | User defined status of the demand line-item: Approved|OnHold. | |
ORDER_CLASS | VARCHAR2 | 20 | Yes | Order class of the demand: 'HotOrder', 'Committed', 'Uncommitted'. | |
DEMAND_PRIORITY | NUMBER | Yes | Indicates the priority of the demand line-item. | ||
REQUEST_DATE | TIMESTAMP | Yes | Request date of the demand line-item. | ||
EARLIEST_DATE | TIMESTAMP | Earliest date of the demand line-item. | |||
LATEST_DATE | TIMESTAMP | Latest date of the demand line-item. | |||
TARGET_COMPLETION_DATE | TIMESTAMP | Target completion date of the demand line-item. | |||
SATISFACTION_DATE | TIMESTAMP | Satisfaction date of the demand line-item. | |||
AVAILABLE_DATE | TIMESTAMP | Engine-scheduled date of the demand line-item (solution). | |||
RESERVATIONS_FLAG | VARCHAR2 | 1 | Flag that indicates that the demand order has reservations for this line-item: Y|N. | ||
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_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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
MSS_DEMANDS | mss_items | PLAN_ID, INVENTORY_ITEM_ID |
mss_pegging_relationships | mss_demands | PLAN_ID, END_DEMAND_ID |
mss_work_orders_demands | mss_demands | PLAN_ID, DEMAND_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MSS_DEMANDS_N1 | Non Unique | Default | PLAN_ID, FOLDER_PATH |
MSS_DEMANDS_N2 | Non Unique | Default | PLAN_ID, INVENTORY_ITEM_ID |
MSS_DEMANDS_U1 | Unique | Default | PLAN_ID, DEMAND_ID |
MSS_DEMANDS_U2 | Unique | Default | PLAN_ID, DEMAND_NUMBER, DEMAND_LINE_ITEM_NUMBER |