PV_ITMVNDUPR_VW

(SQL View)
Index Back

Item Supplier UOM Pricing


SELECT D.SETID , D.INV_ITEM_ID , D.VENDOR_SETID , D.VENDOR_ID , D.VNDR_LOC , D.UNIT_OF_MEASURE , D.CURRENCY_CD , D.EFFDT , D.PRICE_VNDR , E.CONVERSION_RATE , E.QTY_PRECISION ,D.QTY_MIN FROM PS_ITM_VNDR_UOM_PR D , PS_ITM_VNDR_UOM E WHERE D.SETID = E.SETID AND D.INV_ITEM_ID = E.INV_ITEM_ID AND D.VENDOR_SETID = E.VENDOR_SETID AND D.VENDOR_ID = E.VENDOR_ID AND D.VNDR_LOC = E.VNDR_LOC AND D.UNIT_OF_MEASURE = E.UNIT_OF_MEASURE AND D.EFF_STATUS = 'A' AND D.QTY_MIN = ( SELECT MIN(K.QTY_MIN) FROM PS_ITM_VNDR_UOM_PR K WHERE K.SETID = D.SETID AND K.INV_ITEM_ID = D.INV_ITEM_ID AND K.VENDOR_SETID = D.VENDOR_SETID AND K.VENDOR_ID = D.VENDOR_ID AND K.VNDR_LOC = D.VNDR_LOC AND K.UNIT_OF_MEASURE = D.UNIT_OF_MEASURE AND K.CURRENCY_CD = D.CURRENCY_CD AND K.EFFDT = D.EFFDT)

# 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 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
5 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
6 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
8 EFFDT Date(10) DATE Effective Date

Default Value: %date

9 PRICE_VNDR Number(16,5) DECIMAL(15,5) NOT NULL Vendor Price
10 CONVERSION_RATE Signed Number(17,8) DECIMAL(15,8) NOT NULL Conversion Rate
11 QTY_PRECISION Character(1) VARCHAR2(1) NOT NULL Quantity Precision
D=Decimal
W=Whole Nbr
12 QTY_MIN Number(16,4) DECIMAL(15,4) NOT NULL Minimum Quantity