SSR_BR_ENVV_NLD(SQL View) |
Index Back |
---|---|
Enrollment current view 1 VAVOCurrent view contains Enrollment Records (Basis) for VAVO |
SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.EMPLID , ES.SSR_BR_ENRL_SQ_NLD , %Coalesce ( (SELECT TT.TERM_BEGIN_DT FROM PS_TERM_TBL TT WHERE TT.STRM = AP.ADMIT_TERM AND TT.ACAD_CAREER = AP.ACAD_CAREER AND TT.INSTITUTION = AP.INSTITUTION and AP.EFFDT < TT.TERM_BEGIN_DT) , AP.EFFDT) AS ENROLLMENT_DT , (%Sql(SSR_BR_ENDDATEV_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD, AP2.PROG_ACTION, AP2.PROG_REASON,AP2.EFFDT)) AS SSR_BR_ENR_END_DT , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SSR_BR_ENVVWNLD ES JOIN PS_ACAD_PROG AP ON ES.INSTITUTION = AP.INSTITUTION AND ES.EMPLID = AP.EMPLID AND ES.ACAD_CAREER =AP.ACAD_CAREER AND ES.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP.PROG_ACTION IN (%Sql(SSR_BR_GET_PR_AC_ENRV_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD, AP.EFFDT)) JOIN PS_ACAD_PROG_TBL APT ON AP.ACAD_PROG = APT.ACAD_PROG JOIN PS_SSR_STD_PRG_NLD SP ON AP.EMPLID = SP.EMPLID AND AP.EFFDT = SP.EFFDT AND AP.EFFSEQ = SP.EFFSEQ AND AP.ACAD_CAREER = SP.ACAD_CAREER AND AP.STDNT_CAR_NBR = SP.STDNT_CAR_NBR AND SP.SAD_BR_EX_BRON_NLD <> 'Y' JOIN PS_SSR_BR_ENRV_NLD INST ON INST.INSTITUTION = ES.INSTITUTION AND INST.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD LEFT OUTER JOIN PS_ACAD_PROG AP2 ON AP2.EMPLID = AP.EMPLID AND AP2.ACAD_CAREER = AP.ACAD_CAREER AND AP2.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP2.PROG_ACTION IN ( SELECT DISTINCT PROG_ACTION FROM PS_SSR_BR_ENRLENDV) WHERE (%Sql(SSR_BR_GET_NBR_ACPRVTOSEND_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD, ES.EMPLID, ES.ACAD_CAREER, ES.STDNT_CAR_NBR)) > 0 AND APT.EFFDT = ( SELECT MAX(APT_ED.EFFDT) FROM PS_ACAD_PROG_TBL APT_ED WHERE APT_ED.ACAD_PROG = APT.ACAD_PROG AND APT_ED.EFFDT <= AP.EFFDT) AND INST.EFFDT = ( SELECT MAX(INST_ED.EFFDT) FROM PS_SSR_BR_ENRV_NLD INST_ED WHERE INST.INSTITUTION = INST_ED.INSTITUTION AND INST.SCC_BRINCD_NLD = INST_ED.SCC_BRINCD_NLD) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | SCC_BRINCD_NLD | Character(4) | VARCHAR2(4) NOT NULL | BRINcode |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | SSR_BR_ENRL_SQ_NLD | Character(20) | VARCHAR2(20) NOT NULL | 2020-04-15 bug 31180485 - enlarged enrollment seq nbr |
5 | ENROLLMENT_DT | Date(10) | DATE | Original Enrollment Date |
6 | SSR_BR_ENR_END_DT | Date(10) | DATE | Enrollment End Date |
7 | 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 |
8 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |