RC_AGT_SMRY_VW(SQL View) |
Index Back |
---|---|
Agent Summary ViewOutbound Marketing Agent Summary View |
SELECT A.PERSON_ID , A.SETID , A.PROVIDER_GRP_ID , B.BUSINESS_UNIT , B.RA_CAMPAIGN_ID , C.RA_CMPGN_NAME , B.RA_CMPGN_WAVE_ID , D.RA_WAVE_NAME , D.RA_PRIORITY , D.START_DATE , D.END_DATE , D.START_TIME , D.END_TIME , D.RA_OFFER_ID , D.RA_SCRIPT_ID_OTBN , F.RC_LIST_COUNT , F.RC_COMPLETED_CALL , F.RC_CALLS_LEFT FROM PS_RF_GRP_MEMBER A , PS_RC_GRP_ASGMNT B , PS_RA_CAMPAIGN C , PS_RA_CMPGN_WAVE D , PS_RC_CALL_SUMMRY F , PS_RA_UD_CHNL_TYPE G , PS_SET_CNTRL_REC SC WHERE B.SETID = A.SETID AND B.PROVIDER_GRP_ID = A.PROVIDER_GRP_ID AND C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.RA_CAMPAIGN_ID = B.RA_CAMPAIGN_ID AND D.BUSINESS_UNIT = C.BUSINESS_UNIT AND D.RA_CAMPAIGN_ID = C.RA_CAMPAIGN_ID AND D.RA_CMPGN_WAVE_ID = B.RA_CMPGN_WAVE_ID AND D.RA_CMPGN_STATUS_CD = 'EXEC' AND SC.SETCNTRLVALUE = C.BUSINESS_UNIT AND SC.RECNAME = 'RA_UD_CHNL_TYPE' AND G.SETID = SC.SETID AND D.RA_CHANNEL_TYPE = G.RA_CHANNEL_TYPE AND G.RA_CHNL_EXECUTION = '010' AND F.BUSINESS_UNIT = B.BUSINESS_UNIT AND F.RA_CAMPAIGN_ID = B.RA_CAMPAIGN_ID AND F.RA_CMPGN_WAVE_ID = B.RA_CMPGN_WAVE_ID AND F.RC_LIST_COUNT <> 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
This field is used to store the value of SetID on various setup tables.
Default Value: OPR_DEF_TBL_RB.SETID Prompt Table: SP_SETID_NONVW |
3 | PROVIDER_GRP_ID | Character(10) | VARCHAR2(10) NOT NULL |
Identification number for the provider group.
Prompt Table: RF_PROVIDER_GRP |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | 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. |
6 | RA_CMPGN_NAME | Character(50) | VARCHAR2(50) NOT NULL | Campaign Name - field containing the name of the campaign. |
7 | RA_CMPGN_WAVE_ID | Character(15) | VARCHAR2(15) NOT NULL | Used to uniquely identify a Marketing - Campaign Activity (wave) ID |
8 | RA_WAVE_NAME | Character(50) | VARCHAR2(50) NOT NULL | Campaign Activity (Wave) Name - field containing the campaign activity (wave) name. Campaign Activity (Wave Name) could be either program generated or free form entry. |
9 | RA_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL |
Marketing - campaign wave content task priority
1=High Priority 2=Medium Priority 3=Low Priority |
10 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |
11 | END_DATE | Date(10) | DATE | End date field to store an end date. |
12 | START_TIME | Time(15) | TIMESTAMP | Start of Shift |
13 | END_TIME | Time(15) | TIMESTAMP | End of Shift |
14 | RA_OFFER_ID | Character(15) | VARCHAR2(15) NOT NULL | Marketing Offer ID |
15 | RA_SCRIPT_ID_OTBN | Number(12,0) | DECIMAL(12) NOT NULL | Outbound Script ID - Numeric |
16 | RC_LIST_COUNT | Number(8,0) | INTEGER NOT NULL | Outbound Marketing |
17 | RC_COMPLETED_CALL | Number(8,0) | INTEGER NOT NULL | Outbound Marketing |
18 | RC_CALLS_LEFT | Number(8,0) | INTEGER NOT NULL | Calls Remaining |