RA_COSTSUMV2LNG(SQL View) |
Index Back |
---|---|
Campaign Cost Summary ViewThis view is used in the Track Costs Page. |
SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID ,B.LANGUAGE_CD , A.RA_COST_METRIC_ID , B.DESCR , C.DESCR FROM PS_RA_CMPGN_COST A , PS_RA_COSTMET_LANG B , PS_RA_UD_COSTP_LNG C WHERE A.RA_COST_METRIC_ID = B.RA_COST_METRIC_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'RA_COST_METRICS') AND B.SETID = C.SETID AND B.LANGUAGE_CD = C.LANGUAGE_CD GROUP BY A.BUSINESS_UNIT,A.RA_CAMPAIGN_ID,B.LANGUAGE_CD,A.RA_COST_METRIC_ID, B.DESCR, C.DESCR |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | RA_COST_METRIC_ID | Character(15) | VARCHAR2(15) NOT NULL | Marketing - Cost Metric ID / Description |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |