SCRTY_TSC_V2_LN(SQL View) |
Index Back |
---|---|
Transcript Type Prompt TableTranscript 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 C.EMPLID , B.OPRID , A.INSTITUTION , A.TSCRPT_TYPE , D.LANGUAGE_CD , D.DESCR FROM PS_TRANSCRIPT_TYPE A , PS_SCRTY_TSCRPT B , PS_STDNT_CAREER C , PS_TRANSCRIPT_LANG D WHERE A.INSTITUTION = D.INSTITUTION AND A.TSCRPT_TYPE = D.TSCRPT_TYPE AND A.EFFDT = D.EFFDT AND 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')) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |