RA_RESPONSE_VW

(SQL View)
Index Back

# of Responses Metric

This view gives the # Responses

SELECT A.BUSINESS_UNIT_RA ,R.RA_ROLLUP_CMPGN_ID ,A.RA_CAMPAIGN_ID ,A.RA_CMPGN_WAVE_ID ,COUNT(*) FROM PS_RSF_LEAD A , PS_RSF_LE_TSK_VW B ,PS_RA_RLUP_MET_VW R WHERE A.LEAD_ID = B.LEAD_ID AND A.RA_CAMPAIGN_ID <> ' ' AND B.TASK_TYPE = 'RESPONSE' AND A.BUSINESS_UNIT_RA = R.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = R.RA_CAMPAIGN_ID GROUP BY A.BUSINESS_UNIT_RA,R.RA_ROLLUP_CMPGN_ID,A.RA_CAMPAIGN_ID, A.RA_CMPGN_WAVE_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 RA_ROLLUP_CMPGN_ID Character(15) VARCHAR2(15) NOT NULL Campaign - Roll Up (Parent) Campaign Identification
3 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.
4 RA_CMPGN_WAVE_ID Character(15) VARCHAR2(15) NOT NULL Used to uniquely identify a Marketing - Campaign Activity (wave) ID
5 RA_ACTUAL_AMT Signed Number(15,2) DECIMAL(13,2) NOT NULL Campaign Actual Cost / Value