RA_LB_PROMO_VW

(SQL View)
Index Back

Campaign Promotion Codes

Lookup list of Campaign Promotion Codes/Waves for defining Campaign History criteria against in Audience Builder

SELECT SC.SETID , WV.RA_PROMOTION_CODE , WV.BUSINESS_UNIT , WV.RA_CAMPAIGN_ID , WV.RA_CMPGN_WAVE_ID , CM.RA_CMPGN_NAME , WV.RA_WAVE_NAME FROM PS_RA_CAMPAIGN CM , PS_RA_CMPGN_WAVE WV , PS_SET_CNTRL_REC SC WHERE WV.BUSINESS_UNIT = CM.BUSINESS_UNIT AND WV.RA_CAMPAIGN_ID = CM.RA_CAMPAIGN_ID AND %TrimSubstr(SC.SETCNTRLVALUE, 1, 5) = CM.BUSINESS_UNIT AND SC.RECNAME = 'RA_LIST'

# 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_PROMOTION_CODE Character(35) VARCHAR2(35) NOT NULL Marketing - campaign wave promotion code
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_NAME Character(50) VARCHAR2(50) NOT NULL Campaign Name - field containing the name of the campaign.
7 RA_WAVE_NAME Character(50) VARCHAR2(50) NOT NULL Campaign Activity (Wave) Name - field containing the campaign activity (wave) name. Campaign Activity (Wave Name) could be either program generated or free form entry.