RPM_AUD_GOAL_VW

(SQL View)
Index Back

Goals for audience list

This view lists all the goals a particular audience can access.

SELECT DISTINCT b.SETID , d.RA_LIST_ID , a.SETID , c.RSP_GOAL_ID FROM PS_RPM_USER_TEMPL a , PS_RPM_USER_PORTF b , PS_RSP_TP_GOAL c , PS_RPM_RA_LIST d WHERE a.OPRID = b.OPRID AND a.RSP_UID20 = c.RSP_UID20 AND ((b.RPM_PORTFOLIO_TYPE = 'A' AND b.RA_LIST_ID = d.RA_LIST_ID) OR (b.RPM_PORTFOLIO_TYPE = 'S' AND b.RA_LIST_ID = d.RA_SEGMENT_GRP_ID ))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RPM_RA_SETID Character(5) VARCHAR2(5) NOT NULL Setid for use in mobile sales
2 RA_LIST_ID Character(15) VARCHAR2(15) NOT NULL Audience ID
3 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
4 RSP_GOAL_ID Character(10) VARCHAR2(10) NOT NULL This field is used as a key on the Goal Setup table (RSP_GOAL) and is auto generated on save.