RA_LEAD_COUNT(SQL View) |
Index Back |
---|---|
Lead counts by Campaign WaveView used for What if BAM report for lead counts by Campaign Wave |
SELECT BUSINESS_UNIT_RA ,RA_CAMPAIGN_ID ,RA_CMPGN_WAVE_ID , COUNT(*) FROM PS_RSF_LEAD WHERE RA_CMPGN_WAVE_ID <> ' ' AND RC_PROSPECT_SW <> 'Y' GROUP BY BUSINESS_UNIT_RA,RA_CAMPAIGN_ID,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_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_CMPGN_WAVE_ID | Character(15) | VARCHAR2(15) NOT NULL | Used to uniquely identify a Marketing - Campaign Activity (wave) ID |
4 | NO_OF_LEADS | Number(10,0) | DECIMAL(10) NOT NULL | Number of leads field |