RSFM_CAMPGN_VW

(SQL View)
Index Back

Mobile Campaign View

This view is similar to RSF_CAMPAIGN_VW. The difference is that BUSINESS_UNIT field is used instead of BUSINESS_UNIT_RA.

SELECT BUSINESS_UNIT , RA_CAMPAIGN_ID , RA_CMPGN_NAME , RA_CMPGN_STATUS_CD , START_DATE , END_DATE , %subrec(RB_AUDIT_SBR, PS_RA_CAMPAIGN) FROM PS_RA_CAMPAIGN WHERE START_DATE <= %CurrentDateIn AND END_DATE >= %CurrentDateIn

# 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_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.

Default Value: NEXT

3 RA_CMPGN_NAME Character(50) VARCHAR2(50) NOT NULL Campaign Name - field containing the name of the campaign.
4 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

Default Value: NEW

Prompt Table: RA_UD_CPGN_STAT

5 START_DATE Date(10) DATE NOT NULL Campaign Start Date
6 END_DATE Date(10) DATE NOT NULL End date field to store an end date.
7 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
8 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
9 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
10 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
11 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.
12 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time