PO_LINE_SRCH_VW

(SQL View)
Index Back

PO Line Search View

PO Chunking Search View

SELECT L.BUSINESS_UNIT , L.PO_ID , L.LINE_NBR , C.CATEGORY_CD , C.CATEGORY_ID , C.SETID , L.CNTRCT_ID , H.CURRENCY_CD , L.DESCR254_MIXED , L.INV_ITEM_ID , L.ITM_ID_VNDR , L.CANCEL_STATUS , SUM(S.MERCHANDISE_AMT) , L.MFG_ID , L.MFG_ITM_ID , L.UPN_TYPE_CD , L.UPN_ID , L.UNIT_OF_MEASURE , L.VNDR_CATALOG_ID FROM PS_PO_LINE L , PS_PO_LINE_SHIP S , PS_ITM_CAT_TBL C , PS_PO_HDR H WHERE L.CATEGORY_ID = C.CATEGORY_ID AND L.BUSINESS_UNIT = S.BUSINESS_UNIT AND L.PO_ID = S.PO_ID AND L.LINE_NBR = S.LINE_NBR AND L.BUSINESS_UNIT = H.BUSINESS_UNIT AND L.PO_ID = H.PO_ID GROUP BY L.BUSINESS_UNIT, L.PO_ID, L.LINE_NBR, C.CATEGORY_ID, C.CATEGORY_CD, C.SETID, L.CNTRCT_ID, H.CURRENCY_CD, L.DESCR254_MIXED, L.INV_ITEM_ID, L.ITM_ID_VNDR, L.CANCEL_STATUS, L.MFG_ID, L.MFG_ITM_ID,L.UPN_TYPE_CD,L.UPN_ID, L.UNIT_OF_MEASURE, L.VNDR_CATALOG_ID

# 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 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
5 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
6 CATEGORY_SETID Character(5) VARCHAR2(5) NOT NULL Category SetID
7 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
10 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
11 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
12 CANCEL_STATUS Character(1) VARCHAR2(1) NOT NULL Cancel Status
A=Active
C=Closed
D=Denied
H=Hold
O=Open
P=Pending Approval
X=Canceled
13 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
14 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
15 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
16 UPN_TYPE_CD Character(4) VARCHAR2(4) NOT NULL Universal Product Number Format Type
17 UPN_ID Character(20) VARCHAR2(20) NOT NULL Universal Product Number
18 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
19 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number