PV_PERF_UPN_VW

(SQL View)
Index Back

UPN Search View


SELECT A.SETID , A.INV_ITEM_ID , A.MFG_ID , A.MFG_ITM_ID , A.UNIT_OF_MEASURE , A.UPN_ID FROM PS_ITEM_MFG_UPN_FS A , PS_ITM_VENDOR_MFG B , PS_VENDOR_LOC C WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.MFG_ID = B.MFG_ID AND B.VENDOR_SETID = C.SETID AND B.VENDOR_ID = C.VENDOR_ID AND B.VNDR_LOC = C.VNDR_LOC AND C.EFFDT = ( SELECT MAX(L1.EFFDT) FROM PS_VENDOR_LOC L1 WHERE L1.SETID = C.SETID AND L1.VENDOR_ID = C.VENDOR_ID AND L1.VNDR_LOC = C.VNDR_LOC) AND C.EFF_STATUS = 'A' AND C.VNDR_UPN_FLG = 'Y' AND B.PREFERRED_MFG = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
4 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
5 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
6 UPN_ID Character(20) VARCHAR2(20) NOT NULL Universal Product Number