SPF_WOSURUSR_VW

(SQL View)
Index Back

Survey Recipients Views

View to fetch all sPro users with role actions 'SP_APPROVER', 'SP_REQUESTER' and 'SP_COORDINATOR'

SELECT DISTINCT P.OPRID , P.OPRDEFNDESC FROM PS_PV_ROLE_ACTION A , PSROLEUSER_VW B , PSOPRDEFN P , PS_SPB_USRSTP_ROLE C WHERE P.OPRID = B.OPRID AND P.ACCTLOCK = 0 AND (( A.PV_ACTION IN ('SP_REQUESTER','SP_SRVC_COORDINATOR') AND PV_ACT_CONTROL = 'A' AND A.ROLENAME = B.ROLENAME ) OR (C.SP_USER_TYPE = 'RA' AND C.ROLENAME = B.ROLENAME ))

# 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 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user