SHIP_CNTR_DVW09(SQL View) |
Index Back |
---|---|
Ship Cntr Order Sum OutMostSelects unique order no from ship container inv based on outer most container id. 08/11/04 PWF F-KNANN-V59N4 Change record in view from SHIP_INF_INV to IN_DEMAND |
SELECT DISTINCT B.BUSINESS_UNIT , B.DEMAND_SOURCE , B.SOURCE_BUS_UNIT , B.ORDER_NO , C.SHIP_CNTR_ID , C.OUTER_MOST_CNTR_ID FROM PS_SHIP_CNTR_INV B , PS_SHIP_CNTR_HDR C , PS_IN_DEMAND A WHERE C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.SHIP_CNTR_ID = B.SHIP_CNTR_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DEMAND_SOURCE = B.DEMAND_SOURCE AND A.SOURCE_BUS_UNIT = B.SOURCE_BUS_UNIT AND A.ORDER_NO = B.ORDER_NO AND A.IN_FULFILL_STATE >='50' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | 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 |
5 | SHIP_CNTR_ID | Character(20) | VARCHAR2(20) NOT NULL | Shipping Container ID |
6 | OUTER_MOST_CNTR_ID | Character(20) | VARCHAR2(20) NOT NULL | Shipping Container ID |