RA_PGM_GRD_VW1

(SQL View)
Index Back

Campaign Program Smart View

Marketing Campaign grid view to be used for BAM / Smart view reporting for rollups.

SELECT DISTINCT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.RA_CMPGN_NAME , D.RA_PROGRAM_TYPE , A.DESCR254 , A.RA_OBJECTIVE , A.RA_ROLLUP_CMPGN_ID , B.RA_CMPGN_NAME , A.RA_CMPGN_STATUS_CD , A.START_DATE , A.END_DATE , A.INDUSTRY_ID , A.BO_ID_OWNER , A.BO_ROLE_TYPE_ID , %Substring(C.BO_NAME_DISPLAY,1,50) , C.NAME_AC , 0 ,%subrec(RB_AUDIT_SBR, D) FROM PS_RA_CAMPAIGN A , PS_RA_CAMPAIGN B , PS_BO_NAME_PRIM_VW C , PS_RA_PROGRAM_TBL D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT(+) AND A.RA_ROLLUP_CMPGN_ID = B.RA_CAMPAIGN_ID(+) AND A.BO_ID_OWNER = C.BO_ID (+) AND A.RA_CMPGN_STATUS_CD <> 'ARCH' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = D.RA_CAMPAIGN_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_RA_NONVW

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_NAME Character(50) VARCHAR2(50) NOT NULL Campaign Name - field containing the name of the campaign.
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 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
6 RA_OBJECTIVE_CD Character(4) VARCHAR2(4) NOT NULL Objective code of the campaign
7 RA_ROLLUP_CMPGN_ID Character(15) VARCHAR2(15) NOT NULL Campaign - Roll Up (Parent) Campaign Identification

Prompt Table: RA_ROLLCM_GRDVW

8 RA_ROLLUP_CM_NAME Character(50) VARCHAR2(50) NOT NULL Rollup Campaign Name - used in view for Home Grd. This is the name of the rollup campaign
9 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_GRDCS_VW

10 START_DATE Date(10) DATE Campaign Start Date
11 END_DATE Date(10) DATE End date field to store an end date.
12 INDUSTRY_ID Character(30) VARCHAR2(30) NOT NULL Industry ID.

Prompt Table: RSF_INDUSTRY_VW

13 BO_ID_OWNER Number(31,0) DECIMAL(31) NOT NULL Financial Account Business Object ID
14 BO_ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL BO_ROLE_TYPE_ID
15 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
16 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
17 DIALOG_ID Number(18,0) DECIMAL(18) NOT NULL Dialog ID field to identify both design time and run time dialog.
18 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
19 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
20 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
21 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
22 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
23 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time