SCRTY_TSCRPT_V2

(SQL View)
Index Back

Transcript Type Prompt Table

Transcript Type prompt table which combines Security VIEW for Transcript Types per Institution and validating student's career against careers attached to a transcript type.

SELECT DISTINCT C.EMPLID , B.OPRID , A.INSTITUTION , A.TSCRPT_TYPE , A.DESCR , B.ACCESS_CD FROM PS_TRANSCRIPT_TYPE A , PS_SCRTY_TSCRPT B , PS_STDNT_CAREER C WHERE B.INSTITUTION = A.INSTITUTION AND (B.TSCRPT_TYPE = A.TSCRPT_TYPE OR B.TSCRPT_TYPE= 'ALL') AND B.ACCESS_CD = 'Y' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_TRANSCRIPT_TYPE A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.TSCRPT_TYPE = A.TSCRPT_TYPE AND A1.EFFDT <=%CurrentDateIn) AND (EXISTS ( SELECT 'X' FROM PS_TRANSCRIPT_CARS D WHERE D.ACAD_CAREER = C.ACAD_CAREER AND D.INSTITUTION = A.INSTITUTION AND D.TSCRPT_TYPE = A.TSCRPT_TYPE AND D.EFFDT = A.EFFDT ) OR (A.INCL_DEGR_PRGRSS = 'Y' OR A.INC_SPEC_ADVIS_RPT = 'Y'))

  • Related Language Record: SCRTY_TSC_V2_LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

    Prompt Table: OPRDEFN2

    3 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Prompt Table: SCRTY_TBL_INST

    4 TSCRPT_TYPE Character(5) VARCHAR2(5) NOT NULL Transcript Type

    Prompt Table: TRANSCRIPT_TYPE

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
    N=No Access
    Y=Read/Write Access

    Default Value: Y