SCC_TM_TEMPLVLN(SQL View) |
Index Back |
---|---|
Task Template ID Prompt |
SELECT D.OPRID , B.INSTITUTION , A.PTAI_LIST_ID ,A.LANGUAGE_CD , B.effdt , A.ptai_label FROM PS_PTAI_LIST_LNG A , PS_SCC_TM_CONFIG B ,PS_PTAI_LIST C , PSOPRDEFN D WHERE A.PTAI_LIST_ID = B.SCC_TM_TASK_ID AND c.ptai_active_flg = 'Y' AND c.ptai_is_tmpl='Y' AND a.PTAI_LIST_ID=c.PTAI_LIST_ID AND (EXISTS ( SELECT 'X' FROM PS_SCC_TM_PTAILPRV F WHERE F.SCC_TM_LIST_ID = A.PTAI_LIST_ID AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = D.OPRID AND ((F.SCC_TM_PTAIMBRTYPE = 'USER' AND F.SCC_TM_PTAIMBRNAME = X.ROLEUSER) OR (F.SCC_TM_PTAIMBRTYPE = 'ROLE' AND F.SCC_TM_PTAIMBRNAME = 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
3 | SCC_TM_LIST_ID | Character(31) | VARCHAR2(31) NOT NULL | Template ID |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | SCC_TM_LABEL | Character(100) | VARCHAR2(100) NOT NULL | Title |