PTAI_TMPL_VW(SQL View) |
Index Back |
---|
SELECT D.OPRID , A.PTAI_LIST_ID , A.PTAI_LABEL FROM PS_PTAI_LIST A , PSOPRDEFN D WHERE A.PTAI_ACTIVE_FLG = 'Y' AND A.PTAI_IS_TMPL='Y' AND A.PTAI_LIST_ID<>'PTAI_AGTMP' AND A.PTAI_GPDS_ID='PTAI_ACTIVITYGUIDE' AND (EXISTS ( SELECT 'X' FROM PS_PTAI_LIST_PRIV F WHERE F.PTAI_LIST_ID = A.PTAI_LIST_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 | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | PTAI_LIST_ID | Character(31) | VARCHAR2(31) NOT NULL | Action Items - Action Item List ID |
3 | PTAI_LABEL | Character(100) | VARCHAR2(100) NOT NULL | Action Items - Label |