PO_SSPOLNCHGHVW

(SQL View)
Index Back

SELECT C.BUSINESS_UNIT , A.PO_ID , C.CHNG_ORD_BATCH , A.LINE_NBR , A.INV_ITEM_ID , A.ITM_ID_VNDR , A.DESCR254_MIXED FROM PS_PO_LINE A , PS_PO_HDR_EC C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PO_ID = C.PO_ID AND ( EXISTS ( SELECT 'X' FROM PS_PO_CHNG_LINE B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PO_ID = A.PO_ID AND B.LINE_NBR = A.LINE_NBR AND B.CHNG_ORD_BATCH = C.CHNG_ORD_BATCH) OR EXISTS ( SELECT 'X' FROM PS_PO_CHNG_SHIP B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PO_ID = A.PO_ID AND B.LINE_NBR = A.LINE_NBR AND B.CHNG_ORD_BATCH = C.CHNG_ORD_BATCH))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
3 CHNG_ORD_BATCH Number(3,0) SMALLINT NOT NULL Change Order Number
4 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
7 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description