PV_PRICE_ADJ_VW

(SQL View)
Index Back

PO Price Adjust Work Scroll

PO Price Adjust Work Scroll

SELECT A.SETID , A.INV_ITEM_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.EFFDT , A.PRICE_ADJUST_SEQ , B.QTY_MIN , B.QTY_MAX , B.ADJ_METH , A.CURRENCY_CD , B.ADJ_AMT , B.ADJ_PCT , A.DFLT_UOM_ADJUST , A.ADJUST_ON_UOM , A.ADJUST_ON_SHIPTO , A.UNIT_OF_MEASURE , A.SHIPTO_SETID , A.SHIPTO_ID , A.FINAL_PRICE , A.HARD_PRICE , A.IGNORE_IF_OTHER FROM PS_PRICE_ADJ_RULE A , PS_PRICE_ADJ_DTL B WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.VENDOR_SETID = B.VENDOR_SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.VNDR_LOC = B.VNDR_LOC AND A.EFFDT = B.EFFDT AND A.PRICE_ADJUST_SEQ = B.PRICE_ADJUST_SEQ AND A.CURRENCY_CD = B.CURRENCY_CD AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_PRICE_ADJ_DTL D WHERE D.SETID = A.SETID AND D.INV_ITEM_ID = A.INV_ITEM_ID AND D.VENDOR_SETID = A.VENDOR_SETID AND D.VENDOR_ID = A.VENDOR_ID AND D.VNDR_LOC = A.VNDR_LOC AND D.PRICE_ADJUST_SEQ = A.PRICE_ADJUST_SEQ AND D.CURRENCY_CD = A.CURRENCY_CD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL 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

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 EFFDT Date(10) DATE Effective Date
7 PRICE_ADJUST_SEQ Number(3,0) SMALLINT NOT NULL Price Adjustment Sequence
8 QTY_MIN Number(16,4) DECIMAL(15,4) NOT NULL Minimum Quantity
9 QTY_MAX Number(16,4) DECIMAL(15,4) NOT NULL Maximum Quantity
10 ADJ_METH Character(1) VARCHAR2(1) NOT NULL Adjustment Method
A=Amount
P=Percentage

Default Value: A

11 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
12 ADJ_AMT Signed Number(17,5) DECIMAL(15,5) NOT NULL Adjustment Amount
13 ADJ_PCT Signed Number(11,4) DECIMAL(9,4) NOT NULL Adjust Percentage
14 DFLT_UOM_ADJUST Character(1) VARCHAR2(1) NOT NULL Default UOM Adjustment
15 ADJUST_ON_UOM Character(1) VARCHAR2(1) NOT NULL Adjust When UOM Matches
N=No
Y=Yes
16 ADJUST_ON_SHIPTO Character(1) VARCHAR2(1) NOT NULL Adjust on Shipto
N=No
Y=Yes
17 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
18 SHIPTO_SETID Character(5) VARCHAR2(5) NOT NULL ShipTo SetID
19 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
20 FINAL_PRICE Character(1) VARCHAR2(1) NOT NULL Stop Price Calculation Here
N=No
Y=Yes
21 HARD_PRICE Character(1) VARCHAR2(1) NOT NULL Hard Price
N=No
Y=Yes
22 IGNORE_IF_OTHER Character(1) VARCHAR2(1) NOT NULL Ignore If Other Adjustments
N=No
Y=Yes