PTAI_LISTPRIVW

(SQL View)
Index Back

Instance's Priviledge View

AG template instance's view based on contributor access.

SELECT A.PTAI_LIST_ID ,C.OPRID , A.PTAI_LABEL , A.PTAI_PARENT_TMPL FROM PS_PTAI_LIST A ,PS_PTAI_LIST_PRIV B ,PSOPRDEFN C WHERE A.PTAI_LIST_ID = B.PTAI_LIST_ID AND B.PTAI_PRIVSET_ID ='PTAI_CONTRIBUTOR' AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = C.OPRID AND ((B.PTAI_MBR_TYPE = 'USER' AND B.PTAI_MBR_NAME = X.ROLEUSER) OR (B.PTAI_MBR_TYPE = 'ROLE' AND B.PTAI_MBR_NAME = X.ROLENAME)))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PTAI_LIST_ID Character(31) VARCHAR2(31) NOT NULL Action Items - Action Item List ID
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 PTAI_LABEL Character(100) VARCHAR2(100) NOT NULL Action Items - Label
4 PTAI_PARENT_TMPL Character(31) VARCHAR2(31) NOT NULL Template ID