RIM_WRKR_EML

(SQL View)
Index Back

Operators PERSON_ID and BO_ID

This view is used to get the operators person id and bo_id. This view fetches primary name, email address for the person

SELECT a.OPRID ,r.ROLENAME ,a.PERSON_ID ,b.BO_ID ,n.BO_NAME_DISPLAY ,n.FIRST_NAME ,n.LAST_NAME ,e.EMAIL_ADDR ,e.BO_CM_START_DT ,e.BO_CM_END_DT FROM PSOPRALIAS a , PS_RD_PERSON b LEFT OUTER JOIN PS_RIM_ROLECM_EMAL e ON e.BO_ID = b.BO_ID , PS_BO_NAME_PRIM_VW n , PSROLEUSER r WHERE a.PERSON_ID = b.PERSON_ID AND a.PERSON_ID <> ' ' AND a.OPRALIASTYPE = 'PER' AND b.BO_ID = n.BO_ID AND r.ROLEUSER = a.OPRID AND e.ROLE_TYPE_ID = 4 AND e.BO_CM_START_DT <= %CurrentDateIn AND e.BO_CM_END_DT > %CurrentDateIn

# 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 ROLENAME Character(30) VARCHAR2(30) NOT NULL The name of a Role in the Role Definition Table (see PSROLEDEFN).
3 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
4 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
5 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
6 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
7 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
8 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.
9 BO_CM_START_DT Date(10) DATE The date that a Contact Method of a Business Object takes effect.
10 BO_CM_END_DT Date(10) DATE End date of a Contact Method of a Business Object