EM_REQUEST_VW

(SQL View)
Index Back

eS Requestor UserIDs

Returns list of OPRIDs that are mapped to an eS Role via the EM_ROLE_CONFIG page/component and also in REQUESTOR_TBL. OPRID must have a Role that is configured/mapped to eS Buyer role types (includes System Administrator in result set).

SELECT DISTINCT C.OPRID , C.DESCR , C.EMAILID FROM PSROLEDEFN A , PS_EM_ROLE_CONFIG B , PS_ROLEXLATOPR C , PSROLEUSER D , PS_REQUESTOR_TBL E , PS_SEC_BU_OPR F WHERE A.ROLENAME = B.EM_ROLENAME AND B.EM_ROLENAME = D.ROLENAME AND D.ROLEUSER=C.ROLEUSER AND C.EMAIL_USER_SW = 'Y' AND C.EMAILID <> ' ' AND A.ROLESTATUS = 'A' AND B.EM_ROLETYPE IN ('05', '10', '15', '20', '35') AND E.REQUESTOR_ID = C.ROLEUSER AND F.OPRID = C.OPRID

# 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description
3 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address