RA_DBACTIVTY_VW

(SQL View)
Index Back

Activity Dashboard View

Campaign Activity view for generating information for dashboard

SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.RA_CMPGN_WAVE_ID , A.RA_WAVE_NAME , A.RA_OBJECTIVE_CD , B.DESCR , A.RA_CMPGN_STATUS_CD , D.DESCR , A.START_DATE , A.END_DATE , A.RA_PRIORITY , X.XLATSHORTNAME FROM PS_RA_CMPGN_WAVE A , PS_RA_UD_CMPGN_OBJ B , PS_SET_CNTRL_REC C , PS_RA_UD_CPGN_STAT D , PSXLATITEM X WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'RA_UD_CMPGN_OBJ' AND C.SETID = B.SETID AND A.RA_OBJECTIVE_CD = B.RA_OBJECTIVE_CD AND C.SETID = D.SETID AND A.RA_CMPGN_STATUS_CD = D.RA_CMPGN_STATUS_CD AND X.FIELDNAME = 'RA_PRIORITY' AND X.EFF_STATUS = 'A' AND A.RA_PRIORITY = X.FIELDVALUE

# 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_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 RA_OBJECTIVE_CD Character(4) VARCHAR2(4) NOT NULL Objective code of the campaign
6 RA_OBJECTIVE Character(50) VARCHAR2(50) NOT NULL Objective / Initiative free form entry field
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 DESCR Character(30) VARCHAR2(30) NOT NULL Description
9 START_DATE Date(10) DATE Start Date for Gen Standing PO
10 END_DATE Date(10) DATE End date field to store an end date.
11 RA_PRIORITY Character(1) VARCHAR2(1) NOT NULL Marketing - campaign wave content task priority
1=High Priority
2=Medium Priority
3=Low Priority
12 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name