PO_CNTRCTADJ_VW(SQL View) |
Index Back |
---|---|
Contract Price Adjustments08/26/02 Added field VNDR_LOC for the incident 514982000 |
SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , A.CAT_LINE_NBR , A.CNTRCT_LINE_NBR , A.ADJ_ITEM_TYPE , A.EFFDT , A.PRICE_ADJUST_SEQ , B.QTY_MIN , A.ADJUST_ON_GENERAL , A.ADJUST_ON_UOM , A.UNIT_OF_MEASURE , A.ADJUST_ON_SHIPTO , A.SHIPTO_SETID , A.SHIPTO_ID , A.FINAL_PRICE , A.HARD_PRICE , A.IGNORE_IF_OTHER , B.QTY_MAX , B.ADJ_METH , B.ADJ_AMT , B.ADJ_PCT , A.CURRENCY_CD , A.VNDR_LOC , C.ADJ_SET_TYPE FROM PS_CNTRCT_ADJ_RULE A , PS_CNTRCT_ADJ_DTL B , PS_CNTRCT_ADJ_SET C WHERE A.SETID = B.SETID AND A.CNTRCT_ID = B.CNTRCT_ID AND A.VERSION_NBR = B.VERSION_NBR AND A.CAT_LINE_NBR = B.CAT_LINE_NBR AND A.CNTRCT_LINE_NBR = B.CNTRCT_LINE_NBR AND A.ADJ_ITEM_TYPE = B.ADJ_ITEM_TYPE AND A.EFFDT = B.EFFDT AND A.PRICE_ADJUST_SEQ = B.PRICE_ADJUST_SEQ AND A.CURRENCY_CD = B.CURRENCY_CD AND A.SETID = C.SETID AND A.CNTRCT_ID = C.CNTRCT_ID AND A.VERSION_NBR = C.VERSION_NBR AND A.CAT_LINE_NBR = C.CAT_LINE_NBR AND A.CNTRCT_LINE_NBR = C.CNTRCT_LINE_NBR AND A.ADJ_ITEM_TYPE = C.ADJ_ITEM_TYPE AND A.EFFDT = C.EFFDT AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_CNTRCT_ADJ_DTL D WHERE D.SETID = A.SETID AND D.CNTRCT_ID = A.CNTRCT_ID AND D.VERSION_NBR = A.VERSION_NBR AND D.CAT_LINE_NBR = A.CAT_LINE_NBR AND D.CNTRCT_LINE_NBR = A.CNTRCT_LINE_NBR AND D.ADJ_ITEM_TYPE = A.ADJ_ITEM_TYPE 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 |
2 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
3 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
4 | CAT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Contract Category Line Number |
5 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
6 | ADJ_ITEM_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Adjust Item Type
C=Category Specific Adjustment L=Line Specific Adjustment Set O=Open Item Adjustment Set T=Template Adjustment |
7 | EFFDT | Date(10) | DATE | Effective Date |
8 | PRICE_ADJUST_SEQ | Number(3,0) | SMALLINT NOT NULL | Price Adjustment Sequence |
9 | QTY_MIN | Number(16,4) | DECIMAL(15,4) NOT NULL | Minimum Quantity |
10 | ADJUST_ON_GENERAL | Character(1) | VARCHAR2(1) NOT NULL |
General Adjustment
N=No Y=Yes Y/N Table Edit |
11 | ADJUST_ON_UOM | Character(1) | VARCHAR2(1) NOT NULL |
Adjust When UOM Matches
N=No Y=Yes Y/N Table Edit |
12 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
13 | ADJUST_ON_SHIPTO | Character(1) | VARCHAR2(1) NOT NULL |
Adjust on Shipto
N=No Y=Yes |
14 | SHIPTO_SETID | Character(5) | VARCHAR2(5) NOT NULL | ShipTo SetID |
15 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
16 | FINAL_PRICE | Character(1) | VARCHAR2(1) NOT NULL |
Stop Price Calculation Here
N=No Y=Yes |
17 | HARD_PRICE | Character(1) | VARCHAR2(1) NOT NULL |
Hard Price
N=No Y=Yes |
18 | IGNORE_IF_OTHER | Character(1) | VARCHAR2(1) NOT NULL |
Ignore If Other Adjustments
N=No Y=Yes Y/N Table Edit |
19 | QTY_MAX | Number(16,4) | DECIMAL(15,4) NOT NULL | Maximum Quantity |
20 | ADJ_METH | Character(1) | VARCHAR2(1) NOT NULL |
Adjustment Method
A=Amount P=Percentage Default Value: A |
21 | ADJ_AMT | Signed Number(17,5) | DECIMAL(15,5) NOT NULL | Adjustment Amount |
22 | ADJ_PCT | Signed Number(11,4) | DECIMAL(9,4) NOT NULL | Adjust Percentage |
23 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
24 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
25 | ADJ_SET_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Adjustment Set Type
INC=Increment Adjustments SUM=Sum All Adjustments |