RA_LIST_ADD_WV2(SQL View) |
Index Back |
---|---|
Associate Wave to List PromptValid list of audiences based upon set identification |
SELECT B.SETID , A.RA_PROMOTION_CODE , A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , C.RA_CMPGN_NAME , A.RA_CMPGN_WAVE_ID , A.RA_WAVE_NAME , A.RA_CMPGN_STATUS_CD , E.DESCR , A.START_DATE , A.END_DATE FROM PS_RA_CMPGN_WAVE A , PS_SET_CNTRL_REC B , PS_RA_CAMPAIGN C , PS_SET_CNTRL_REC D , PS_RA_UD_CPGN_STAT E WHERE B.SETCNTRLVALUE = %TrimSubstr(A.BUSINESS_UNIT, 1, 5) AND B.RECNAME = 'RA_LIST' AND A.RA_LIST_ID = ' ' AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.RA_CAMPAIGN_ID = A.RA_CAMPAIGN_ID AND A.RA_CMPGN_STATUS_CD IN ('NEW', 'IREV') AND D.SETCNTRLVALUE = %TrimSubstr(A.BUSINESS_UNIT, 1, 5) AND D.RECNAME = 'RA_UD_CPGN_STAT' AND E.SETID = D.SETID AND E.RA_CMPGN_STATUS_CD = A.RA_CMPGN_STATUS_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | RA_PROMOTION_CODE | Character(35) | VARCHAR2(35) NOT NULL | Marketing - campaign wave promotion code |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | 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 |
5 | RA_CMPGN_NAME | Character(50) | VARCHAR2(50) NOT NULL | Campaign Name - field containing the name of the campaign. |
6 | RA_CMPGN_WAVE_ID | Character(15) | VARCHAR2(15) NOT NULL | Used to uniquely identify a Marketing - Campaign Activity (wave) ID |
7 | 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. |
8 | 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 |
9 | RA_CMPGN_STAT_DESC | Character(30) | VARCHAR2(30) NOT NULL | Campaign and Wave Status Description |
10 | START_DATE | Date(10) | DATE NOT NULL | Activity Start Date |
11 | END_DATE | Date(10) | DATE NOT NULL | End date field to store an end date. |