IN_ORD_DELIV_VW(SQL View) |
Index Back |
---|---|
Delivery IDs by Order12/01/08 EGS: Created |
SELECT DISTINCT A.BUSINESS_UNIT , A.ORDER_NO , A.DELIVERY_ID FROM PS_IN_DEMAND A WHERE A.DELIVERY_ID <> ' ' AND NOT EXISTS ( SELECT 'X' FROM PS_IN_DELIVERY_ORD WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND DELIVERY_ID = A.DELIVERY_ID AND FREIGHT_BILLD_FLAG = 'Y') AND NOT EXISTS ( SELECT 'X' FROM PS_CM_CST_NSSHIP WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND DELIVERY_ID = A.DELIVERY_ID AND POSTED_FLAG = 'Y') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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 |
3 | DELIVERY_ID | Character(10) | VARCHAR2(10) NOT NULL | Delivery ID |