RA_TARGETED_VW(SQL View) |
Index Back |
---|---|
# TargetedThis view gives the # Targeted for a Campaign/ Wave |
SELECT A.BUSINESS_UNIT ,R.RA_ROLLUP_CMPGN_ID ,A.RA_CAMPAIGN_ID ,A.RA_CMPGN_WAVE_ID ,SUM(B.LIST_CURR_COUNT) FROM PS_RA_CMPGN_WAVE A , PS_RA_LIST B , PS_RA_RLUP_MET_VW R WHERE A.RA_LIST_ID = B.RA_LIST_ID AND A.BUSINESS_UNIT = R.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = R.RA_CAMPAIGN_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'RA_LIST') GROUP BY A.BUSINESS_UNIT ,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 |