C360_RECSHIP_VW(SQL View) |
Index Back |
---|---|
Shipped Order Schedules |
SELECT SC.SETID , SH.CUST_ID , SH.SHIP_TO_CUST_ID , SH.BUSINESS_UNIT , %DatePart(SH.SHIP_DTTM) , OL.PRODUCT_ID , SH.QTY_SHIPPED , SH.SOURCE_BUS_UNIT , SH.ORDER_NO ,SH.ORDER_INT_LINE_NO FROM PS_SET_CNTRL_REC SC , PS_IN_DEMAND SH , PS_ORD_LINE OL WHERE SH.SOURCE_BUS_UNIT = OL.BUSINESS_UNIT AND SH.ORDER_NO = OL.ORDER_NO AND SH.ORDER_INT_LINE_NO = OL.ORDER_INT_LINE_NO AND SC.RECNAME = 'CUST_SLD_VW' AND SC.SETCNTRLVALUE = SH.SOURCE_BUS_UNIT AND SH.IN_FULFILL_STATE IN ('60','70') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
3 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
4 | SHIP_FROM_BU | Character(5) | VARCHAR2(5) NOT NULL | Ship from INV BU |
5 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
6 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
7 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
8 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
9 | 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 |
10 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |