SSR_STU_PRGSUBP

(SQL View)
Index Back

Inst, Car, Prog, Plan, SubPlan

Lists the active Institutions, Career, Program, Plan and Subplan a student is in. Use with App Package SSR_STUDENT_RECORDS:SR_StudentData:StudentAcadProfile

SELECT a. EMPLID , a.INSTITUTION , a.ACAD_CAREER , a.ACAD_PROG , b.ACAD_PLAN , c.ACAD_SUB_PLAN , ' ' , ' ' , ' ' , c.REQ_TERM FROM PS_ACAD_PROG a , PS_ACAD_PLAN b , PS_ACAD_SUBPLAN c WHERE a.EFFDT = ( SELECT MAX(a1.EFFDT) FROM PS_ACAD_PROG a1 WHERE a1.EMPLID = a.EMPLID AND a1.ACAD_CAREER = a.ACAD_CAREER AND a1.STDNT_CAR_NBR = a.STDNT_CAR_NBR AND a1.EFFDT <= %CurrentDateIn) AND a.EFFSEQ = ( SELECT MAX(a2.EFFSEQ) FROM PS_ACAD_PROG a2 WHERE a2.EMPLID = a.EMPLID AND a2.ACAD_CAREER = a.ACAD_CAREER AND a2.STDNT_CAR_NBR = a.STDNT_CAR_NBR AND a2.EFFDT = a.EFFDT) AND a.PROG_STATUS = 'AC' AND a.EMPLID = b.EMPLID AND a.ACAD_CAREER = b.ACAD_CAREER AND a.STDNT_CAR_NBR = b.STDNT_CAR_NBR AND a.EFFDT = b.EFFDT AND a.EFFSEQ = b.EFFSEQ AND b.EMPLID = c.EMPLID AND b.ACAD_CAREER = c.ACAD_CAREER AND b.STDNT_CAR_NBR = c.STDNT_CAR_NBR AND b.EFFDT = c.EFFDT AND b.EFFSEQ = c.EFFSEQ AND b.ACAD_PLAN = c.ACAD_PLAN

# 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 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
5 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
6 ACAD_SUB_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Sub-Plan
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
8 ACAD_SUBPLAN_TYPE Character(3) VARCHAR2(3) NOT NULL Academic Sub-Plan Type
CON=Concentration
EMP=Emphasis
MIN=Minor
OPT=Option
SPC=Specialization
TRK=Track
9 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr
10 REQ_TERM Character(4) VARCHAR2(4) NOT NULL Requirement Term