DEMAND_PLAN_VW(SQL View) |
Index Back |
---|---|
Demand Picking Plan View04/16/04 MEG CN#IN890 Data Model Changes - Replaced DEMAND_INV with IN_DEMAND. Check in_fulfill_state instead of cancel_flag. |
SELECT DISTINCT A.BUSINESS_UNIT , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO FROM PS_IN_DEMAND A , PS_BU_ITEMS_INV B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND (B.ITM_STATUS_CURRENT = '1' OR B.ITM_STATUS_CURRENT = '3') AND A.IN_FULFILL_STATE = '30' AND A.HOLD_FLAG = 'N' AND A.FULFILL_FLAG = 'Y' AND A.CONFIRMED_FLAG = 'N' AND A.PICK_BATCH_ID = 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |