SPF_APPROVER_VW

(SQL View)
Index Back

SP Time Entry Approvers

Selects all the users that are associated with the role action of SP_APPROVER or SP_REQUESTER. SELECT A.ROLEUSER , B.OPRDEFNDESC FROM PSROLEUSER A , PSOPRDEFN B WHERE ROLENAME IN ( SELECT C.ROLENAME FROM PS_PV_ROLE_ACTION C WHERE (C.PV_ACTION = 'SP_APPROVER' OR C.PV_ACTION = 'SP_REQUESTER') AND A.ROLEUSER = B.OPRID

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

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TE_APPROVER Character(30) VARCHAR2(30) NOT NULL Time Approver
2 DESCR Character(30) VARCHAR2(30) NOT NULL Description