RO_ADJST_SLD_VW

(SQL View)
Index Back

Price Adjustments by Sold To

Price adjustments joined to the order for sold-to information

SELECT A.CAPTURE_ID , A.UID20 , B.BUSINESS_UNIT , B.UID20F_SOLD , C.BO_ID , B.CAPTURE_TYPE_CD , D.LINE_NBR , D.PRODUCT_ID , %subrec(ro_prcadj_sbr, a) FROM PS_RO_PRICE_ADJST A LEFT OUTER JOIN PS_RO_LINE D ON (A.CAPTURE_ID=D.CAPTURE_ID AND A.UID20=D.UID20) , PS_RO_HEADER B , PS_RO_BOID C WHERE A.CAPTURE_ID=B.CAPTURE_ID AND A.CAPTURE_ID=C.CAPTURE_ID AND B.UID20F_SOLD = C.UID20 AND B.STATUS_CODE <> 1 AND B.STATUS_CODE <> 5000

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CAPTURE_ID Character(20) VARCHAR2(20) NOT NULL Field use to store the capture ID in order capture.
2 UID20 Character(20) VARCHAR2(20) NOT NULL This field is for UID of 20 characters long.
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_RO_NONVW

4 UID20F_SOLD Character(20) VARCHAR2(20) NOT NULL Foreign UID
5 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID

Prompt Table: BO

6 CAPTURE_TYPE_CD Character(4) VARCHAR2(4) NOT NULL Capture Type
QUO=Quote
SO=Order
7 LINE_NBR Number(5,0) INTEGER NOT NULL This field represents the integer Order Line Number.
8 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
9 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
10 ADJUSTMENT_PCT Signed Number(7,2) DECIMAL(5,2) NOT NULL Adjustment Percent
11 EOEP_FORM_BREAK Character(30) VARCHAR2(30) NOT NULL Formula Break
12 EOEP_DATE_BREAK Character(30) VARCHAR2(30) NOT NULL Date Break
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL This field stores the Currency Code value.
14 PRICE_OVERRIDE Signed Number(16,4) DECIMAL(14,4) NOT NULL Price Override
15 PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL This is price per unit for calculating the service charge.
16 PRICE_TYPE Character(2) VARCHAR2(2) NOT NULL Pricing type
P=Extended Price
Q=Quantity
V=Volume
W=Weight
17 EOEP_ACTION_TYPE Character(2) VARCHAR2(2) NOT NULL Action Type
1=Discount/Surcharge
10=Free Period Promotion
11=Product Add
12=Price Base
13=Rollup Only Rule
14=Min/Max Margin
15=Recurring Discount/Surcharge
2=Price Override
3=Giveaway / Product Add
4=Total Order Discount/Surcharge
5=Min/Max Target Price
6=Min/Max Target Discount
7=Min/Max Target Surcharge
8=Related Busines Objects
9=Price List Only Condition
99=Standard Discount
18 EOEP_ADJ_METHOD Character(1) VARCHAR2(1) NOT NULL Adjustment Method
1=Cascading
2=Summed
19 EOEP_ADJST_AMT Signed Number(19,4) DECIMAL(17,4) NOT NULL Adjustment Amount
20 EOEP_ADJUST_TYPE Character(3) VARCHAR2(3) NOT NULL Adjustment Type Bill-Back or Off-Invoice
AC=Bill Back
AMT=Amount
OI=Off-Invoice
OVR=Price Override
PCT=Percent
21 EOEP_ADJUSTMENT Signed Number(19,4) DECIMAL(17,4) NOT NULL Adjustment
22 EOEP_FORMULA_ID Number(10,0) DECIMAL(10) NOT NULL Pricing Formula ID
23 EOEP_RULE_ID Character(30) VARCHAR2(30) NOT NULL Price Rule ID
24 EOEP_CHAR Character(254) VARCHAR2(254) NOT NULL Long field
25 RECUR_FLAG Character(1) VARCHAR2(1) NOT NULL Identifies if a revenue flow is one of a set of recurring.
N=Non-Recuring Revenue
Y=Recurring Revenue

Default Value: N

26 EOEP_RECURRENCE Number(2,0) SMALLINT NOT NULL Recurrence of Discount, etc
27 PPRC_RECUR_FREQ Character(2) VARCHAR2(2) NOT NULL Field used to store the recurring frequency.
00=Daily
05=Weekly
10=Monthly
15=Quarterly
20=Annually
28 RECUR_PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL Recurring Price
29 PRORATE_FLAG Character(1) VARCHAR2(1) NOT NULL Proration flag - indicates if order adjustments are prorated to the lines
0=Do Not Prorate Adjustments
1=Prorate Order Adjustments
30 EOEP_TEXT_VALUE Character(254) VARCHAR2(254) NOT NULL Text Value
31 EOEP_ONETIME_FLG Character(1) VARCHAR2(1) NOT NULL One-Time Flag
1=No
2=Per Customer
3=Per Rule
32 EOEP_MEPR_FLG Character(1) VARCHAR2(1) NOT NULL Mutually Exclusive Pricing Rule
N=No
Y=Yes
33 PRICE_ADJST_REASON Character(10) VARCHAR2(10) NOT NULL Price Adjustment Reason
34 MERCH_TYPE Character(10) VARCHAR2(10) NOT NULL Merchandising Type
35 RO_ADJST_AMT Signed Number(19,4) DECIMAL(17,4) NOT NULL Price adjustment amount, percent or override
36 RO_ADJST_FLG Character(1) VARCHAR2(1) NOT NULL Price adjustments flag.
1=Percent
2=Amount
3=Override