RD_OPR_PR_NM_V1

(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 , P.PERSON_ID , P.BO_ID , BN.BO_NAME_DISPLAY FROM PSOPRALIAS UA , PS_RD_PERSON P , PS_BO_NAME BN WHERE UA.OPRALIASTYPE = 'PER' AND UA.PERSON_ID = P.PERSON_ID AND P.BO_ID = BN.BO_ID AND BN.PRIMARY_IND = 'Y' AND 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