SCC_TM_TEMPLVW

(SQL View)
Index Back

Task Template ID Prompt


SELECT D.OPRID , B.INSTITUTION , A.SCC_TM_LIST_ID , B.effdt , B.eff_status , A.SCC_TM_LABEL , A.PORTAL_NAME FROM PS_SCC_TM_PTAILIST A , PS_SCC_TM_CONFIG B , PSOPRDEFN D WHERE A.SCC_TM_LIST_ID = B.SCC_TM_TASK_ID AND A.SCC_TM_ACTIVE_FLAG = 'Y' AND A.SCC_TM_IS_TMPL='Y' AND (EXISTS ( SELECT 'X' FROM PS_SCC_TM_PTAILPRV F WHERE F.SCC_TM_LIST_ID = A.SCC_TM_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)))))

  • Related Language Record: SCC_TM_TEMPLVLN
  • # 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 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    6 SCC_TM_LABEL Character(100) VARCHAR2(100) NOT NULL Title
    7 PORTAL_NAME Character(30) VARCHAR2(30) NOT NULL Portal Name (see PSPRDMDEFN).

    Prompt Table: PSPRDMDEFN