RA_PROG_ACTV_V1(SQL View) |
Index Back |
---|---|
Marketing Programssummary of all marketing programs, used in the calendar component |
SELECT AA.BUSINESS_UNIT , AA.RA_CAMPAIGN_ID , CAST(B.RY_ACTION_ID AS CHAR(15)) , AA.RA_PROGRAM_TYPE , AA.RA_ROLLUP_CMPGN_ID , %Substring(B.LABEL_TEXT,1 ,50) , A.RY_DIALOG_STATUS , CAST(B.RY_ACT_TYPE_ID AS CHAR(4)) , A.START_DT , A.END_DT , CAST(C.RY_LIST_ID AS CHAR(15)) FROM PS_RA_PROGRAM_TBL AA , PS_RYEDIALOG A , PS_RYEACT_TASK B , PS_RYETASK_LIST C WHERE AA.BUSINESS_UNIT = A.BUSINESS_UNIT AND AA.DIALOG_ID = A.DIALOG_ID AND A.DIALOG_ID = B.DIALOG_ID AND B.RY_ACT_TYPE_ID IN (1,4,5) AND A.RY_DIALOG_STATUS IN('D', 'Q') AND B.RY_ACTION_ID = C.RY_ACTION_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 | RA_PROGRAM_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Marketing Program type - field that contains valid program types used in marketing, such as Campaigns, Roll ups, Dialogs and Trade Promotions
CMP=Campaign DLG=Dialog EVT=Event RLU=Roll up |
5 | RA_ROLLUP_CMPGN_ID | Character(15) | VARCHAR2(15) NOT NULL | Campaign - Roll Up (Parent) Campaign Identification |
6 | 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. |
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 |
8 | 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 |
9 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |
10 | RA_LEAD_ACCEPT_DT | Date(10) | DATE | Date used for final date in which leads can be attached to a marketing activity |
11 | RA_LIST_ID | Character(15) | VARCHAR2(15) NOT NULL | Audience ID |