RSF_CMPGN_WA_V2(SQL View) |
Index Back |
---|---|
Marketing Campaign Wave RecordView of all Marketing Campaign Waves |
SELECT BUSINESS_UNIT , RA_CAMPAIGN_ID , RA_CMPGN_WAVE_ID , RA_WAVE_NAME , START_DATE , END_DATE , RA_CMPGN_STATUS_CD , RA_LIST_ID , RA_OFFER_ID , RA_CONTENT_ID , RA_ACTIVITY_CD , RA_PROMOTION_CODE FROM PS_RA_CMPGN_WAVE WHERE START_DATE <= %CurrentDateIn AND (END_DATE >= %CurrentDateIn OR RA_LEAD_ACCEPT_DT >= %CurrentDateIn) AND RA_CMPGN_STATUS_CD IN ('EXEC', 'CMPL', 'STOP') |
# | 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.
Prompt Table: RA_CAMPAIGN |
3 | RA_CMPGN_WAVE_ID | Character(15) | VARCHAR2(15) NOT NULL |
Used to uniquely identify a Marketing - Campaign Activity (wave) ID
Default Value: NEXT |
4 | 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. |
5 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |
6 | END_DATE | Date(10) | DATE | End date field to store an end date. |
7 | RA_CMPGN_STATUS_CD | Character(4) | VARCHAR2(4) NOT NULL |
Valid Campaign and Wave Status Codes
APPR=Approved ARCH=Archived CMPL=Completed DCLN=Declined EXEC=Executing IREV=In Review NEW=New STOP=Stop TRIG=Trigger Approved Prompt Table: RA_UD_CPGN_STAT |
8 | RA_LIST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Audience ID
Prompt Table: RA_LIST |
9 | RA_OFFER_ID | Character(15) | VARCHAR2(15) NOT NULL |
Marketing Offer ID
Prompt Table: RA_OFFER |
10 | RA_CONTENT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Marketing - Content ID
Prompt Table: RA_CONTENT |
11 | RA_ACTIVITY_CD | Character(4) | VARCHAR2(4) NOT NULL |
Campaign - Activity Code. Code is used for initial selection of channels.
Prompt Table: RA_UD_ACTIVITY |
12 | RA_PROMOTION_CODE | Character(35) | VARCHAR2(35) NOT NULL | Marketing - campaign wave promotion code |