RA_COSTSUMVWLNG(SQL View) |
Index Back |
---|---|
Wave Cost Summary ViewThis view is used in the Track Costs Page. |
SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.RA_COST_METRIC_ID , B.LANGUAGE_CD , B.DESCR , C.DESCR FROM PS_RA_WAVE_COST A , PS_RA_COSTMET_LANG B , PS_RA_COST_METRICS B1 , 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 = B1.SETID AND B.RA_COST_METRIC_ID = B1.RA_COST_METRIC_ID AND B.SETID = C.SETID AND B.LANGUAGE_CD = C.LANGUAGE_CD AND B1.RA_COST_TYPE_ID = C.RA_COST_TYPE_ID 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 | RA_COST_METRIC_ID | Character(15) | VARCHAR2(15) NOT NULL | Marketing - Cost Metric ID / Description |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |