PV_GHP_VND_PR_V

(SQL View)
Index Back

eProcurement Analysis


SELECT A.SETID , A.INV_ITEM_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.UNIT_OF_MEASURE , A.CURRENCY_CD , A.QTY_MIN , A.EFFDT , A.EFF_STATUS , A.PRICE_VNDR , A. PRICE_CHANGE FROM PS_ITM_VNDR_UOM_PR A WHERE EFFDT <= ( SELECT MAX(EFFDT) FROM PS_ITM_VNDR_UOM_PR B WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.VENDOR_SETID = B.VENDOR_SETID AND VENDOR_ID = B.VENDOR_ID AND A.VNDR_LOC = B.VNDR_LOC AND A.UNIT_OF_MEASURE = B.UNIT_OF_MEASURE AND A.CURRENCY_CD = B.CURRENCY_CD AND B.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: ITM_PURCH_VW

3 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VNDR_VNDSET_VW

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

Prompt Table: UNITS_TBL

7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

8 QTY_MIN Number(16,4) DECIMAL(15,4) NOT NULL Minimum Quantity

Default Value: 1

9 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

10 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

11 PRICE_VNDR Number(16,5) DECIMAL(15,5) NOT NULL Vendor Price
12 PRICE_CHANGE Character(1) VARCHAR2(1) NOT NULL Update Standard Price