RD_OPR_PR_NM_V2

(SQL View)
Index Back

OPRs created Worker Role

View to get the Person ID, BO ID, and primary BO Display Name for a given User ID (OPRID). This User ID has created a Worker Role.

SELECT UA.OPRID , UA.PERSON_ID , 0 , ' ' FROM PSOPRALIAS UA WHERE UA.OPRID IN ( SELECT R.ROW_ADDED_OPRID FROM PS_BO_ROLE R WHERE R.ROLE_TYPE_ID = 4)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
4 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object