RA_RLUP_MET_VW

(SQL View)
Index Back

Rollup View for Metrics

This view is a view of rollups and all campaign ids that have the same rollup. View is used for Metric processing.

SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , (CASE WHEN RA_ROLLUP_CMPGN_ID = ' ' THEN A.RA_CAMPAIGN_ID WHEN RA_ROLLUP_CMPGN_ID IS NOT NULL THEN RA_ROLLUP_CMPGN_ID END) , RA_PROGRAM_TYPE FROM PS_RA_PROGRAM_TBL A

# 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_ROLLUP_CMPGN_ID Character(15) VARCHAR2(15) NOT NULL Campaign - Roll Up (Parent) Campaign Identification
4 RA_PROGRAM_TYPE Character(4) VARCHAR2(4) NOT NULL Marketing Program type - field that contains valid program types used in marketing, such as Campaigns, Roll ups, Dialogs and Trade Promotions
CMP=Campaign
DLG=Dialog
EVT=Event
RLU=Roll up