SSR_APTSY_APTVW

(SQL View)
Index Back

APT Sync Search View for APT


SELECT DISTINCT t.emplid , t.institution , t.acad_career , t.strm , t.acad_prog , t.ssr_apt_instance , air.descr50 FROM PS_SSR_APTSY_TXN_V t ,ps_ssr_apt_hdr apt ,ps_term_tbl te ,ps_ssr_air_hdr air WHERE apt.emplid = t.emplid AND apt.institution = t.institution AND apt.ssr_apt_instance = t.ssr_apt_instance AND te.institution = t.institution AND te.acad_career = t.acad_career AND te.strm = apt.req_term AND air.institution = t.institution AND air.ssr_item_id = apt.ssr_item_id AND air.effdt = ( SELECT MAX(air2.effdt) FROM ps_ssr_air_hdr air2 WHERE air2.institution = air.institution AND air2.ssr_item_id = air.ssr_item_id AND air2.effdt <= te.term_begin_dt) AND air.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 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description