ORD_LST_SHP1_VW(SQL View) |
Index Back |
---|---|
Last Ship Date by Sched LineDate Initials Issue Description 052704 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND |
SELECT SOURCE_BUS_UNIT , ORDER_NO , ORDER_INT_LINE_NO , SCHED_LINE_NBR , SHIP_DTTM , QTY_SHIPPED FROM PS_IN_DEMAND SH WHERE DEMAND_SOURCE = 'OM' AND IN_FULFILL_STATE IN ('60', '70') AND SH.DT_TIMESTAMP = ( SELECT MAX(DT_TIMESTAMP) FROM PS_IN_DEMAND SH2 WHERE SH2.BUSINESS_UNIT = SH.BUSINESS_UNIT AND SH2.DEMAND_SOURCE = SH.DEMAND_SOURCE AND SH2.SOURCE_BUS_UNIT = SH.SOURCE_BUS_UNIT AND SH2.ORDER_NO = SH.ORDER_NO AND SH2.ORDER_INT_LINE_NO = SH.ORDER_INT_LINE_NO AND SH2.SCHED_LINE_NBR = SH.SCHED_LINE_NBR) |
# | 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 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
5 | SHIP_DTTM | DateTime(26) | TIMESTAMP | Ship Date/Time |
6 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |