SSR_BR_STES_VW(SQL View) |
Index Back |
---|---|
Student Extra Support for BO/* bug 35484122 - support for admissions phase */ |
SELECT DISTINCT B.OPRCLASS , A.EMPLID , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.ADM_APPL_NBR , A.APPL_PROG_NBR , AAP.ACAD_PROG , %Coalesce(APT2.DESCRSHORT, APT.DESCRSHORT) , AAP.ADMIT_TERM , %Coalesce(AP.PROG_STATUS , AAP.PROG_STATUS) , A.INSTITUTION , B.LAST_NAME_SRCH , B.FIRST_NAME_SRCH FROM PS_SSR_BR_STES_NLD A JOIN PS_ADM_APPL_PROG AAP ON A.EMPLID = AAP.EMPLID AND A.ACAD_CAREER = AAP.ACAD_CAREER AND A.ADM_APPL_NBR = AAP.ADM_APPL_NBR AND A.APPL_PROG_NBR = AAP.APPL_PROG_NBR JOIN PS_ACAD_PROG_TBL APT ON APT.INSTITUTION = AAP.INSTITUTION AND APT.ACAD_PROG = AAP.ACAD_PROG LEFT OUTER JOIN PS_ACAD_PROG AP ON AP.EMPLID = AAP.EMPLID AND AP.ACAD_CAREER = AAP.ACAD_CAREER AND AP.ADM_APPL_NBR = AAP.ADM_APPL_NBR AND AP.APPL_PROG_NBR = AAP.APPL_PROG_NBR AND AP.EFFDT <= %CurrentDateIn LEFT OUTER JOIN PS_ACAD_PROG_TBL APT2 ON APT2.INSTITUTION = AP.INSTITUTION AND APT2.ACAD_PROG = AP.ACAD_PROG AND APT2.EFFDT <= %CurrentDateIn ,PS_PEOPLE_SRCH B WHERE A.EMPLID = B.EMPLID AND AAP.EFFDT = ( SELECT MAX(AAP_ED.EFFDT) FROM PS_ADM_APPL_PROG AAP_ED WHERE AAP_ED.EMPLID = AAP.EMPLID AND AAP_ED.ACAD_CAREER = AAP.ACAD_CAREER AND AAP_ED.STDNT_CAR_NBR = AAP.STDNT_CAR_NBR AND AAP_ED.ADM_APPL_NBR = AAP.ADM_APPL_NBR AND AAP_ED.APPL_PROG_NBR = AAP.APPL_PROG_NBR AND AAP_ED.EFFDT <= %CurrentDateIn) AND AAP.EFFSEQ = ( SELECT MAX(AAP_ES.EFFSEQ) FROM PS_ADM_APPL_PROG AAP_ES WHERE AAP_ES.EMPLID = AAP.EMPLID AND AAP_ES.ACAD_CAREER = AAP.ACAD_CAREER AND AAP_ES.STDNT_CAR_NBR = AAP.STDNT_CAR_NBR AND AAP_ES.ADM_APPL_NBR = AAP.ADM_APPL_NBR AND AAP_ES.APPL_PROG_NBR = AAP.APPL_PROG_NBR AND AAP_ES.EFFDT <= AAP.EFFDT) AND NOT EXISTS ( SELECT 'X' FROM PS_ACAD_PROG AP_ED WHERE AP_ED.EMPLID = AP.EMPLID AND AP_ED.ACAD_CAREER = AP.ACAD_CAREER AND AP_ED.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP_ED.ADM_APPL_NBR = AP.ADM_APPL_NBR AND AP_ED.APPL_PROG_NBR = AP.APPL_PROG_NBR AND AP_ED.EFFDT <= %CurrentDateIn AND (AP_ED.EFFDT > AP.EFFDT OR (AP_ED.EFFDT = AP.EFFDT AND AP_ED.EFFSEQ > AP.EFFSEQ))) AND %EffdtCheck( ACAD_PROG_TBL APT_ED, APT, %CurrentDateIn) AND (APT2.EFFDT IS NULL OR %EffdtCheck( ACAD_PROG_TBL APT2_ED, APT2, %CurrentDateIn)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | 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 |
4 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
5 | ADM_APPL_NBR | Character(8) | VARCHAR2(8) NOT NULL | Application Nbr |
6 | APPL_PROG_NBR | Number(3,0) | SMALLINT NOT NULL | Application Program Nbr |
7 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
8 | PROG_SHORT_DESCR | Character(10) | VARCHAR2(10) NOT NULL | Program Short Descr |
9 | ADMIT_TERM | Character(4) | VARCHAR2(4) NOT NULL | Admit Term |
10 | PROG_STATUS | Character(4) | VARCHAR2(4) NOT NULL |
Academic Program Status
AC=Active in Program AD=Admitted AP=Applicant CM=Completed Program CN=Cancelled DC=Discontinued DE=Deceased DM=Dismissed LA=Leave of Absence PM=Prematriculant SP=Suspended WT=Waitlisted |
11 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
12 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
13 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |