RA_CMMGT_RPT_VW

(SQL View)
Index Back

Campaign Management Report

View created to support Campaign Management Report Query

SELECT A.BUSINESS_UNIT , A.RA_ROLLUP_CMPGN_ID , B.RA_CMPGN_NAME , A.RA_CAMPAIGN_ID , A.RA_CMPGN_NAME , C.RA_CMPGN_WAVE_ID , C.RA_WAVE_NAME , C.START_DATE , C.END_DATE , A.RA_CMPGN_STATUS_CD , A.START_DATE , A.END_DATE FROM PS_RA_CAMPAIGN A , PS_RA_CAMPAIGN B , PS_RA_CMPGN_WAVE C WHERE B.BUSINESS_UNIT(+) = A.BUSINESS_UNIT AND B.RA_CAMPAIGN_ID(+) = A.RA_ROLLUP_CMPGN_ID AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.RA_CAMPAIGN_ID = A.RA_CAMPAIGN_ID

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

Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT

Prompt Table: SP_BU_RA_NONVW

2 RA_ROLLUP_CMPGN_ID Character(15) VARCHAR2(15) NOT NULL Campaign - Roll Up (Parent) Campaign Identification

Prompt Table: RA_CAMPAIGN_VW

3 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
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.
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 START_DATE Date(10) DATE Start Date for Gen Standing PO
9 END_DATE Date(10) DATE End date field to store an end date.
10 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
11 START_DT Date(10) DATE Start date field to store start date value.
12 END_DT Date(10) DATE This field stores the end date values.