SP_APPR_CLSVW

(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 S.BUSINESS_UNIT , A.ROLEUSER , B.OPRDEFNDESC FROM PSROLEUSER A , PSOPRDEFN B , PS_SEC_BU_CLS S WHERE ROLENAME IN ( SELECT C.ROLENAME FROM PS_PV_ROLE_ACTION C WHERE C.PV_ACTION = 'SP_REQUESTER' AND PV_ACT_CONTROL = 'A') AND A.ROLEUSER = B.OPRID AND B.ACCTLOCK = 0 AND B.ROWSECCLASS = S.OPRCLASS

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