RSFD_REP_VW

(SQL View)
Index Back

Sales Rep and Account Rep View

This view contains the sales reps and Account Reps.

SELECT P.PERSON_ID , %Abs(P.BO_ID) FROM PS_RD_PERSON P WHERE PERSON_ID IN ( SELECT PERSON_ID FROM PS_RSF_SUSER S WHERE STATUS = 'A') OR BO_ID IN ( SELECT BO_ID FROM PS_BO_ROLE R WHERE R.ROLE_TYPE_ID = 17 AND %CurrentDateIn BETWEEN R.ROLE_START_DT AND R.ROLE_END_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 BO_ID_PERSON Number(31,0) DECIMAL(31) NOT NULL Business Object ID