DEMAND_LOC_VW(SQL View) |
Index Back |
---|---|
Pick Plan Locations Prompt Vw04/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.LOCATION 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 AND A.LOCATION > ' ' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |