SSR_APTSY_APRVW

(SQL View)
Index Back

APT Sync Search View for Prog


SELECT DISTINCT t.emplid , t.institution , t.acad_career , t.strm , t.acad_prog , p.descr FROM PS_SSR_APTSY_TXN_V t ,ps_term_tbl te ,ps_acad_prog_tbl p WHERE te.institution = t.institution AND te.acad_career = t.acad_career AND te.strm = t.strm AND p.institution = t.institution AND p.acad_prog = t.acad_prog AND p.effdt = ( SELECT MAX(p2.effdt) FROM ps_acad_prog_tbl p2 WHERE p2.institution = p.institution AND p2.acad_prog = p.acad_prog AND p2.effdt <= te.term_begin_dt) AND p.eff_status = 'A' AND NOT EXISTS ( SELECT 'X' FROM ps_ssr_apt_enrl b WHERE t.emplid = b.emplid AND t.institution = b.institution AND t.ssr_apt_instance = b.ssr_apt_instance AND t.acad_career = b.src_career AND t.strm = b.src_term AND t.class_nbr = b.class_nbr )

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

Prompt Table: ACAD_PROG_TBL

6 DESCR Character(30) VARCHAR2(30) NOT NULL Description