SSR_ACPRG_AC_VW(SQL View) |
Index Back |
---|---|
Student Academic ProgramThis view is used for prompting on the Career Number in the Academic Degree Plan Panel. |
SELECT A.EMPLID ,A.ACAD_CAREER ,B.STRM ,A.ACAD_PROG ,A.INSTITUTION FROM PS_ACAD_PROG A , PS_TERM_TBL B WHERE A.PROG_STATUS = 'AC' AND A.INSTITUTION = B.INSTITUTION AND A.ACAD_CAREER = B.ACAD_CAREER AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_ACAD_PROG C WHERE C.EMPLID = A.EMPLID AND C.ACAD_CAREER = A.ACAD_CAREER AND C.ACAD_PROG = A.ACAD_PROG AND C.EFFDT <= B.SSR_TRMAC_LAST_DT) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_ACAD_PROG D WHERE D.EMPLID = A.EMPLID AND D.ACAD_CAREER = A.ACAD_CAREER AND D.ACAD_PROG = A.ACAD_PROG AND D.EFFDT = A.EFFDT) AND (((A.EMPLID IN ( SELECT X1.EMPLID FROM PS_ACAD_PROG X1 WHERE X1.EMPLID = A.EMPLID AND X1.ACAD_CAREER = A.ACAD_CAREER AND X1.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND X1.EFFDT <= B.SSR_TRMAC_LAST_DT AND X1.PROG_ACTION = 'PRGC')) AND((A.EFFDT > ( SELECT MAX(X2.EFFDT) FROM PS_ACAD_PROG X2 WHERE X2.EMPLID = A.EMPLID AND X2.ACAD_CAREER = A.ACAD_CAREER AND X2.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND X2.EFFDT <= B.SSR_TRMAC_LAST_DT AND X2.PROG_ACTION = 'PRGC')) OR ((A.EFFDT = ( SELECT MAX(X3.EFFDT) FROM PS_ACAD_PROG X3 WHERE X3.EMPLID = A.EMPLID AND X3.ACAD_CAREER = A.ACAD_CAREER AND X3.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND X3.EFFDT <= B.SSR_TRMAC_LAST_DT AND X3.PROG_ACTION = 'PRGC')) AND (A.EFFSEQ >= ( SELECT MAX(X4.EFFSEQ) FROM PS_ACAD_PROG X4 WHERE X4.EMPLID = A.EMPLID AND X4.ACAD_CAREER = A.ACAD_CAREER AND X4.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND X4.EFFDT = A.EFFDT AND X4.PROG_ACTION = 'PRGC'))) )) OR (A.EMPLID NOT IN ( SELECT X5.EMPLID FROM PS_ACAD_PROG X5 WHERE X5.EMPLID = A.EMPLID AND X5.ACAD_CAREER = A.ACAD_CAREER AND X5.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND X5.EFFDT <= B.SSR_TRMAC_LAST_DT AND X5.PROG_ACTION = 'PRGC')) ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
2 | ACAD_CAREER | Character(4) | VARCHAR2(4) NOT NULL |
Academic Career
BAC=Bachelor (NLD) BBL=Vocational Coaching (NLD) BOL=Vocational Training (NLD) BUSN=Graduate Business CNED=Continuing Education CRED=Semester Credit EDU=Education (NLD) EXED=Extended Education GRAD=Graduate LAW=Law MEDS=Medical School NONA=Non Award PGRD=Postgraduate RSCH=Research TECH=Technical UENG=Undergraduate Engineering UGRD=Undergraduate VAVO=Advanced General Educ. (NLD) VETM=Veterinary Medicine |
3 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
4 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
5 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |