SSF_ST_CR_BU_VW

(SQL View)
Index Back

Std Car Term Bus Unit View

This view is used to determine the business unit associated with a student career term

SELECT A.EMPLID , A.ACAD_CAREER , A.INSTITUTION , A.STRM , E.BUSINESS_UNIT , A.ACAD_PROG_PRIMARY , E.CAMPUS , A.ACADEMIC_LOAD , A.SEL_GROUP , G.TERM_BEGIN_DT , G.TERM_END_DT FROM PS_STDNT_CAR_TERM A , PS_ACAD_PROG B , PS_HOME_CAMPUS_TBL E , PS_TERM_TBL G WHERE A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND A.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_ACAD_PROG C WHERE B.EMPLID = C.EMPLID AND B.ACAD_CAREER = C.ACAD_CAREER AND B.STDNT_CAR_NBR = C.STDNT_CAR_NBR) AND B.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_ACAD_PROG D WHERE B.EMPLID = D.EMPLID AND B.ACAD_CAREER = D.ACAD_CAREER AND B.STDNT_CAR_NBR = D.STDNT_CAR_NBR AND B.EFFDT = D.EFFDT) AND A.INSTITUTION = E.INSTITUTION AND B.ACAD_PROG = E.ACAD_PROG AND B.CAMPUS = E.CAMPUS AND E.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_HOME_CAMPUS_TBL F WHERE E.INSTITUTION = F.INSTITUTION AND E.ACAD_PROG = F.ACAD_PROG AND E.CAMPUS = F.CAMPUS AND F.EFFDT <= B.EFFDT) AND G.INSTITUTION = A.INSTITUTION AND G.ACAD_CAREER = A.ACAD_CAREER AND G.STRM = A.STRM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
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 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
6 ACAD_PROG_PRIMARY Character(5) VARCHAR2(5) NOT NULL Primary Academic Program
7 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus
8 ACADEMIC_LOAD Character(1) VARCHAR2(1) NOT NULL Academic Load
F=Enrolled Full-Time
H=Enrolled Half-Time
L=Less than Half-Time
N=No Unit Load
P=Enrolled Part-Time
T=Three Quarter Time
9 SEL_GROUP Character(10) VARCHAR2(10) NOT NULL Tuition Group
10 TERM_BEGIN_DT Date(10) DATE Term Begin Date
11 TERM_END_DT Date(10) DATE Term Ending Date