PTAI_LIST_VW2(SQL View) |
Index Back |
---|---|
Action Items Lists ViewAction Items Lists View - Lists that were not created in Workspaces |
SELECT D.OPRID , A.PORTAL_NAME , A.PTAI_LIST_ID , A.PTAI_LABEL 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 | PORTAL_NAME | Character(30) | VARCHAR2(30) NOT NULL |
Portal Name (see PSPRDMDEFN).
Prompt Table: PSPRDMDEFN |
3 | PTAI_LIST_ID | Character(31) | VARCHAR2(31) NOT NULL | Action Items - Action Item List ID |
4 | PTAI_LABEL | Character(100) | VARCHAR2(100) NOT NULL | Action Items - Label |