SSR_APTSY_PRGVW

(SQL View)
Index Back

APT Sync View


SELECT a.emplid , a.institution , a.ssr_apt_instance , a.acad_career , p.acad_prog , a.ssr_cohort_term , p.effdt , CASE WHEN c.ssr_counter > 1 THEN 'Y' ELSE 'N' END AS ssr_apt_multi_pgm FROM ps_ssr_apt_hdr a LEFT OUTER JOIN ps_ssr_aptsy_pg0vw c ON a.emplid = c.emplid AND a.institution = c.institution , PS_SSR_APT_ITEM i , ps_acad_prog p WHERE i.ssr_item_type = 'PRG' AND i.emplid = a.emplid AND i.institution = a.institution AND i.ssr_apt_instance = a.ssr_apt_instance AND i.ssr_item_id = a.ssr_item_id AND a.emplid = p.emplid AND a.institution = p.institution AND a.ssr_apt_instance = p.ssr_apt_instance AND a.stdnt_car_nbr = p.stdnt_car_nbr AND p.prog_status = 'AC' AND p.effdt = ( SELECT MAX(p1.effdt) FROM ps_acad_prog p1 WHERE p1.emplid = p.emplid AND p1.acad_career = p.acad_career AND p1.stdnt_car_nbr = p.stdnt_car_nbr AND p1.effdt <= %CurrentDateIn) AND p.effseq = ( SELECT MAX(p2.effseq) FROM ps_acad_prog p2 WHERE p2.emplid = p.emplid AND p2.acad_career = p.acad_career AND p2.stdnt_car_nbr = p.stdnt_car_nbr AND p2.effdt = p.effdt)

# 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 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
6 SSR_COHORT_TERM Character(4) VARCHAR2(4) NOT NULL Cohort Term
7 EFFDT Date(10) DATE Effective Date
8 SSR_APT_MULTI_PGM Character(1) VARCHAR2(1) NOT NULL Include Multiple APT

Y/N Table Edit