SSR_BR_ENVVWNLD

(SQL View)
Index Back

Enrollment sequence view VAVO

Enrollment sequence view for VAVO

SELECT DEL.INSTITUTION , DEL.SCC_BRINCD_NLD , DEL.EMPLID , DEL.ACAD_CAREER , DEL.STDNT_CAR_NBR , DEL.SSR_BR_ENRL_SQ_NLD , DEL.ENROLLMENT_DT ,' ' , AP.PROG_ACTION , AP.PROG_REASON , AP.SSR_APT_INSTANCE , AP.EFFDT FROM PS_SSR_BR_MENV_NLD DEL ,PS_ACAD_PROG AP WHERE AP.EMPLID = DEL.EMPLID AND AP.ACAD_CAREER = DEL.ACAD_CAREER AND AP.STDNT_CAR_NBR = DEL.STDNT_CAR_NBR AND AP.INSTITUTION = DEL.INSTITUTION AND AP.EFFDT = ( SELECT MAX(AP_ED.EFFDT) FROM PS_ACAD_PROG AP_ED WHERE AP.EMPLID = AP_ED.EMPLID AND AP.ACAD_CAREER = AP_ED.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ED.STDNT_CAR_NBR) AND AP.EFFSEQ = ( SELECT MAX(AP_ES.EFFSEQ) FROM PS_ACAD_PROG AP_ES WHERE AP.EMPLID = AP_ES.EMPLID AND AP.ACAD_CAREER = AP_ES.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ES.STDNT_CAR_NBR AND AP.EFFDT = AP_ES.EFFDT) AND DEL.ACAD_CAREER IN ( SELECT DISTINCT ACAD_CAREER FROM PS_SSR_BR_XLSV_NLD XLSV WHERE XLSV.INSTITUTION =DEL.INSTITUTION AND XLSV.SCC_BRINCD_NLD = DEL.SCC_BRINCD_NLD ) UNION ALL SELECT AP.INSTITUTION , HC.SCC_BRINCD_NLD , AP.EMPLID , AP.ACAD_CAREER , AP.STDNT_CAR_NBR , %NumToChar(AP.STDNT_CAR_NBR+200) ,AP.EFFDT ,AP.ACAD_PROG ,AP.PROG_ACTION ,AP.PROG_REASON ,AP.SSR_APT_INSTANCE ,AP.EFFDT FROM PS_ACAD_PROG AP , PS_SCC_HM_CAMP_NLD HC WHERE AP.ACAD_CAREER IN ( SELECT DISTINCT ACAD_CAREER FROM PS_SSR_BR_XLSV_NLD XLSV WHERE XLSV.INSTITUTION = AP.INSTITUTION AND XLSV.SCC_BRINCD_NLD = HC.SCC_BRINCD_NLD) AND AP.EFFDT = ( SELECT MAX(AP_ED.EFFDT) FROM PS_ACAD_PROG AP_ED WHERE AP.EMPLID = AP_ED.EMPLID AND AP.ACAD_CAREER = AP_ED.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ED.STDNT_CAR_NBR) AND AP.EFFSEQ = ( SELECT MAX(AP_ES.EFFSEQ) FROM PS_ACAD_PROG AP_ES WHERE AP.EMPLID = AP_ES.EMPLID AND AP.ACAD_CAREER = AP_ES.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ES.STDNT_CAR_NBR AND AP.EFFDT = AP_ES.EFFDT) AND AP.ACAD_PROG = HC.ACAD_PROG AND AP.CAMPUS = HC.CAMPUS AND HC.EFFDT = ( SELECT MAX(HC_ED.EFFDT) FROM PS_SCC_HM_CAMP_NLD HC_ED WHERE HC.ACAD_PROG = HC_ED.ACAD_PROG AND HC_ED.EFFDT <= AP.EFFDT) AND NOT EXISTS ( SELECT 'X' FROM PS_SSR_BR_MENV_NLD DELF WHERE DELF.INSTITUTION = AP.INSTITUTION AND DELF.SCC_BRINCD_NLD = HC.SCC_BRINCD_NLD AND DELF.EMPLID = AP.EMPLID AND DELF.ACAD_CAREER = AP.ACAD_CAREER AND DELF.STDNT_CAR_NBR = AP.STDNT_CAR_NBR) AND AP.ACAD_LOAD_APPR NOT IN ( SELECT DISTINCT ACAD_LOAD_APPR FROM PS_SSR_BR_NLDV_NLD LDEX WHERE LDEX.INSTITUTION = AP.INSTITUTION AND LDEX.SCC_BRINCD_NLD = HC.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 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
5 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
6 SSR_BR_ENRL_SQ_NLD Character(20) VARCHAR2(20) NOT NULL 2020-04-15 bug 31180485 - enlarged enrollment seq nbr
7 EFFDT Date(10) DATE Effective Date

Default Value: %date

8 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
9 PROG_ACTION Character(4) VARCHAR2(4) NOT NULL Program Action
ACTV=Activate
ADMT=Admit
ADRV=Admission Revocation
APPL=Application
COMP=Completion of Program
COND=Conditional Admit
DATA=Data Change
DDEF=Defer Decision
DEFR=Defer Enrollment
DEIN=Intention to Matriculate
DENY=Deny
DISC=Discontinuation
DISM=Dismissal
LEAV=Leave of Absence
MATR=Matriculation
PLNC=Plan Change
PRGC=Program Change
RADM=Readmit
RAPP=Readmit Application
RECN=Reconsideration
REVK=Revoke Degree
RLOA=Return from Leave of Absence
SPND=Suspension
TRAN=Transfer to Other Career
VDIS=Voluntarily Discontinued
WADM=Administrative Withdrawal
WAIT=Waitlist
WAOF=Waitlist Offer
WAPP=Applicant Withdrawal
10 PROG_REASON Character(4) VARCHAR2(4) NOT NULL Action Reason
11 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
12 EFFDT_VAR Date(10) DATE Effective Date