PTAI_LIST_VW(SQL View) |
Index Back |
---|---|
Action Items Lists ViewAction Items Lists View - Lists that were not created in Workspaces |
SELECT D.OPRID , A.PTAI_LIST_ID , A.PTAI_LABEL , A.PORTAL_NAME FROM PS_PTAI_LIST A , PSPRDMDEFN B , PSOPRDEFN D WHERE B.PORTAL_NAME = A.PORTAL_NAME AND A.PTAI_ACTIVE_FLG = 'Y' AND B.PORTAL_TYPE NOT IN ('WORKSPACE', 'WORKSPACE_TMPL') 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 |
4 | PORTAL_NAME | Character(30) | VARCHAR2(30) NOT NULL |
Portal Name (see PSPRDMDEFN).
Prompt Table: PSPRDMDEFN |