RA_CMP_TELE_VW

(SQL View)
Index Back

Telemarketing Campain view

View of all campaigns with a marketing channel of telemarketing

SELECT DISTINCT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , C.RA_CMPGN_NAME FROM PS_RA_CMPGN_WAVE A , PS_RA_UD_CHNL_TYPE B ,PS_RA_CAMPAIGN C , PS_SET_CNTRL_REC SC WHERE A.BUSINESS_UNIT=C.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID=C.RA_CAMPAIGN_ID AND C.RA_CMPGN_STATUS_CD='EXEC' AND A.BUSINESS_UNIT = SC.SETCNTRLVALUE AND SC.RECNAME = 'RA_UD_CHNL_TYPE' AND SC.SETID = B.SETID AND A.RA_ACTIVITY_CD = B.RA_ACTIVITY_CD AND A.RA_CHANNEL_TYPE = B.RA_CHANNEL_TYPE AND B.RA_CHNL_EXECUTION = '010' AND A.RA_CMPGN_STATUS_CD IN ('APPR','EXEC','STOP') AND A.RA_ACTIVITY_CD='DRCT' AND A.RA_CHANNEL_TYPE='TELM'

# 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.