IN_DLV_FDPL_VW(SQL View) |
Index Back |
---|---|
Delivery ID view7/31/07 mmt Creating view to use as prompt table view in fulfillment pages |
SELECT DISTINCT A.BUSINESS_UNIT , A.BUSINESS_UNIT , A.DELIVERY_ID FROM PS_IN_DEMAND A WHERE IN_FULFILL_STATE = '60' AND DELIVERY_ID <> ' ' AND EXISTS ( SELECT 'x' FROM ps_df_setup_inv WHERE business_unit = a.business_unit AND delivery_opt <> '3') AND EXISTS ( SELECT 'X' FROM PS_IN_DELIVERY WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND DELIVERY_ID = A.DELIVERY_ID AND DELIVERY_STATUS = '70') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SL_BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit selection field |
2 | TO_BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit selection field |
3 | DELIVERY_ID | Character(10) | VARCHAR2(10) NOT NULL | Delivery ID |