RT_PROD_PRCE_VW

(SQL View)
Index Back

Product Offer Price View

View of Products prices from an Offer

SELECT A.SETID , A.RA_OFFER_ID , A.RA_OFFER_NAME , A.RA_OFFER_STATUS , A.PRICE_SET_ID , B.RA_DISCOUNT_TYPE , A.START_DATE , A.END_DATE , D.SETID , D.PRODUCT_ID , D.DESCR , D.MODEL_NBR , D.DESCR254 , E.LIST_PRICE , F.PCT_AMT_TYPE , F.ADJUSTMENT_PCT , F.OM_ADJST_AMT FROM PS_RA_OFFER A , PS_RA_OFFER_PRCSET B , PS_RA_OFFER_PRODCT C , PS_RA_OFFER_PRCBRK F , PS_PROD_ITEM D , PS_PROD_PRICE E WHERE A.SETID = B.SETID AND A.PRICE_SET_ID = B.PRICE_SET_ID AND A.RA_OFFER_ID = B.RA_OFFER_ID AND B.SETID = C.SETID AND B.PRICE_SET_ID = C.PRICE_SET_ID AND C.SETID = D.SETID AND C.PRODUCT_ID = D.PRODUCT_ID AND D.SETID = E.SETID(+) AND D.PRODUCT_ID = E.PRODUCT_ID(+) AND F.SETID = A.SETID AND F.RA_OFFER_ID = A.RA_OFFER_ID AND F.PRICE_SET_ID = A.PRICE_SET_ID AND F.BREAK_ID = 1

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

Prompt Table: SP_SETID_NONVW

2 RA_OFFER_ID Character(15) VARCHAR2(15) NOT NULL Marketing Offer ID
3 RA_OFFER_NAME Character(50) VARCHAR2(50) NOT NULL Marketing Offer Name
4 RA_OFFER_STATUS Character(4) VARCHAR2(4) NOT NULL Marketing Offer status
ARCH=Archived
CMPL=Completed
DECL=Declined
IREV=In Review
NEW=New
PLAN=Planning
5 PRICE_SET_ID Character(10) VARCHAR2(10) NOT NULL Price Set ID
6 RA_DISCOUNT_TYPE Character(4) VARCHAR2(4) NOT NULL Marketing - Offer - Discount Type
GIVE=Giveaway
NONE=No Discount
STD=Standard Discount
TIER=Tiered Pricing
7 START_DATE Date(10) DATE Start Date for Gen Standing PO
8 END_DATE Date(10) DATE End date field to store an end date.
9 SETID_PRODUCT Character(5) VARCHAR2(5) NOT NULL Product SetID
10 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
11 PRODUCT_DESCR Character(30) VARCHAR2(30) NOT NULL Product Description
12 MODEL_NBR Character(18) VARCHAR2(18) NOT NULL Model number field to store model number value.
13 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
14 LIST_PRICE Signed Number(17,4) DECIMAL(15,4) NOT NULL List Price
15 PCT_AMT_TYPE Character(1) VARCHAR2(1) NOT NULL Determinate if the price adjustment is defined by Percent or Amount.
A=Amount
P=Percent
16 ADJUSTMENT_PCT Signed Number(7,2) DECIMAL(5,2) NOT NULL Adjustment Percent
17 OM_ADJST_AMT Signed Number(19,4) DECIMAL(17,4) NOT NULL Adjustment Amount