RA_CAMP_ADV_VW

(SQL View)
Index Back

Program advisor activity view

View of all program activities with a marketing channel of advisor.

SELECT DISTINCT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.RA_CMPGN_NAME FROM PS_RA_CAMPAIGN A , PS_RA_CMPGN_WAVE B , PS_RA_UD_CHNL_TYPE C , PS_SET_CNTRL_REC SC WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = B.RA_CAMPAIGN_ID AND A.BUSINESS_UNIT = SC.SETCNTRLVALUE AND SC.RECNAME = 'RA_UD_CHNL_TYPE' AND SC.SETID = C.SETID AND B.RA_ACTIVITY_CD = C.RA_ACTIVITY_CD AND B.RA_CHANNEL_TYPE = C.RA_CHANNEL_TYPE AND C.RA_CHNL_EXECUTION = '070'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 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.
3 RA_CMPGN_NAME Character(50) VARCHAR2(50) NOT NULL Campaign Name - field containing the name of the campaign.