PTAI_PRIV_VW

index back

Action Items - Privs


SELECT DISTINCT D.OPRID , C.PTAI_LIST_ID , A.PTAI_PRIV_ID FROM PS_PTAI_PRIVILEGE A , PS_PTAI_PRIVASSGN B , PS_PTAI_LIST_PRIV C , PSOPRDEFN D WHERE B.PTAI_PRIV_ID = A.PTAI_PRIV_ID AND C.PTAI_PRIVSET_ID = B.PTAI_PRIVSET_ID AND (EXISTS ( SELECT 'X' FROM PS_PTAI_LIST_PRIV F WHERE F.PTAI_LIST_ID = C.PTAI_LIST_ID AND F.PTAI_PRIVSET_ID = C.PTAI_PRIVSET_ID AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = D.OPRID AND ((F.PTAI_MBR_TYPE = 'USER' AND F.PTAI_MBR_NAME = X.ROLEUSER) OR (F.PTAI_MBR_TYPE = 'ROLE' AND F.PTAI_MBR_NAME = X.ROLENAME)))))

PeopleSoft Field Name Field Type Column Type Description
OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
PTAI_LIST_ID Character(31) VARCHAR2(31) NOT NULL Action Items - Action Item List ID
PTAI_PRIV_ID Character(30) VARCHAR2(30) NOT NULL Privilege ID
index back (c)David Kurtz 2019, www.go-faster.co.uk PeopleTools 8.54
PTRef generated on 09-JUN-19