RA_OFF_ACT_VW

(SQL View)
Index Back

Offers on Executing Activities

View of Offers being used by program activities that are executing. Used by offer status editing.

SELECT B.SETID , B.RA_OFFER_ID , A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.RA_CMPGN_WAVE_ID , A.RA_CMPGN_STATUS_CD FROM PS_RA_CMPGN_WAVE A , PS_RA_OFFER B WHERE A.RA_CMPGN_STATUS_CD = 'EXEC' AND A.RA_OFFER_ID = B.RA_OFFER_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME ='RA_OFFER')

# 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.
2 RA_OFFER_ID Character(15) VARCHAR2(15) NOT NULL Marketing Offer ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 RA_CAMPAIGN_ID Character(15) VARCHAR2(15) NOT NULL Marketing - Campaign Identification field. Character field that will contain a generated campaign or free form entered campaign id.
5 RA_CMPGN_WAVE_ID Character(15) VARCHAR2(15) NOT NULL Used to uniquely identify a Marketing - Campaign Activity (wave) ID
6 RA_CMPGN_STATUS_CD Character(4) VARCHAR2(4) NOT NULL Valid Campaign and Wave Status Codes
APPR=Approved
ARCH=Archived
CMPL=Completed
DCLN=Declined
EXEC=Executing
IREV=In Review
NEW=New
STOP=Stop
TRIG=Trigger Approved