EODP_QRYACC_DAT

(SQL View)
Index Back

Query Utility by Operator ID


SELECT DISTINCT B.ROLEUSER , A.ROLENAME , ( SELECT C.DESCR FROM PSROLEDEFN C WHERE C.ROLENAME = A.ROLENAME) , A.RECNAME , A.FIELDNAME , A.ACCESS_CD FROM PSPIIBYPASS A , PSROLEUSER B WHERE ((A.ACCESS_CD = 'N' AND A.ROLENAME = B.ROLENAME) OR (A.ACCESS_CD = 'Y' AND A.ROLENAME NOT IN ( SELECT C.ROLENAME FROM PSROLEUSER C WHERE C.ROLEUSER = 'PS'))) UNION SELECT DISTINCT E.ROLEUSER , D.ROLENAME , ( SELECT C.DESCR FROM PSROLEDEFN C WHERE C.ROLENAME = D.ROLENAME) , D.RECNAME , D.FIELDNAME , D.ACCESS_CD FROM PSPIIBYPASS D , PSROLEUSER E WHERE ((D.ACCESS_CD = 'Y' AND D.ROLENAME = E.ROLENAME) OR (D.ACCESS_CD = 'N' AND D.ROLENAME NOT IN ( SELECT F.ROLENAME FROM PSROLEUSER F WHERE F.ROLEUSER = 'PS')))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ROLEUSER Character(30) VARCHAR2(30) NOT NULL Role User
2 ROLENAME Character(30) VARCHAR2(30) NOT NULL The name of a Role in the Role Definition Table (see PSROLEDEFN).
3 EODP_ROLEDESCR Character(50) VARCHAR2(50) NOT NULL Role Description
4 RECNAME Character(15) VARCHAR2(15) NOT NULL Record (Table) Name (see PSRECDEFN).
5 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).
6 EODP_ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=Not Authorized
Y=Authorized