SSR_APT_ENCH_VW

(SQL View)
Index Back

APT enrolled terms


SELECT A.EMPLID , A.INSTITUTION , A.SSR_APT_INSTANCE , A.ACAD_CAREER , D.SSR_SEQ_NBR , D.SSR_NODE_ID , A.SSR_ITEM_ID , A.SSR_COHORT_ID , A.SSR_COHORT_TERM , B.SSR_ITEM_ID , B.DESCR50 , C.SSR_FORMAT_ID , D.STRM FROM PS_SSR_APT_HDR A , PS_SSR_AIR_HDR B , PS_SSR_AIR_HDR_PRG C , PS_SSR_COHORT_SKED D , PS_ACAD_PROG E WHERE A.INSTITUTION = B.INSTITUTION AND A.SSR_ITEM_ID = B.SSR_ITEM_ID AND B.EFFDT = ( SELECT MAX(W1.EFFDT) FROM PS_SSR_AIR_HDR W1 WHERE W1.INSTITUTION = B.INSTITUTION AND W1.SSR_ITEM_ID = B.SSR_ITEM_ID AND W1.EFFDT <= %CurrentDateIn) AND B.INSTITUTION = C.INSTITUTION AND B.SSR_ITEM_ID = C.SSR_ITEM_ID AND B.EFFDT = C.EFFDT AND A.EMPLID = E.EMPLID AND A.ACAD_CAREER= E.ACAD_CAREER AND A.STDNT_CAR_NBR = E.STDNT_CAR_NBR AND A.INSTITUTION = E.INSTITUTION AND E.EFFDT = ( SELECT MAX(X1.EFFDT) FROM PS_ACAD_PROG X1 WHERE X1.EMPLID = E.EMPLID AND X1.ACAD_CAREER = E.ACAD_CAREER AND X1.STDNT_CAR_NBR = E.STDNT_CAR_NBR AND X1.EFFDT <= %CurrentDateIn) AND E.EFFSEQ = ( SELECT MAX(X2.EFFSEQ) FROM PS_ACAD_PROG X2 WHERE X2.EMPLID = E.EMPLID AND X2.ACAD_CAREER = E.ACAD_CAREER AND X2.STDNT_CAR_NBR = E.STDNT_CAR_NBR AND X2.EFFDT = E.EFFDT) AND A.INSTITUTION = D.INSTITUTION AND A.ACAD_CAREER = D.ACAD_CAREER AND C.SSR_FORMAT_ID = D.SSR_FORMAT_ID AND D.ACAD_LOAD_APPR = E.ACAD_LOAD_APPR AND D.SSR_COHORT_TERM = A.SSR_COHORT_TERM AND D.SSR_COHORT_ID = A.SSR_COHORT_ID AND D.SESSION_CODE = ' ' AND D.SSR_SEQ_NBR = ( SELECT MAX(D1.SSR_SEQ_NBR) FROM PS_SSR_COHORT_SKED D1 WHERE D.INSTITUTION = D1.INSTITUTION AND D.ACAD_CAREER = D1.ACAD_CAREER AND D.SSR_FORMAT_ID = D1.SSR_FORMAT_ID AND D.ACAD_LOAD_APPR = D1.ACAD_LOAD_APPR AND D.SSR_COHORT_TERM = D1.SSR_COHORT_TERM AND D.SSR_COHORT_ID = D1.SSR_COHORT_ID AND D.SSR_NODE_ID = D1.SSR_NODE_ID)

# 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 SSR_SEQ_NBR Number(4,0) SMALLINT NOT NULL Sequence Number
6 SSR_NODE_ID Number(4,0) SMALLINT NOT NULL Node ID
7 SSR_ITEM_ID Character(11) VARCHAR2(11) NOT NULL Academic Item ID
8 SSR_COHORT_ID Character(12) VARCHAR2(12) NOT NULL Cohort Tag
9 SSR_COHORT_TERM Character(4) VARCHAR2(4) NOT NULL Cohort Term
10 SSR_ITEM_ID_1 Character(11) VARCHAR2(11) NOT NULL Academic Item ID
11 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
12 SSR_FORMAT_ID Character(15) VARCHAR2(15) NOT NULL Format ID
13 STRM Character(4) VARCHAR2(4) NOT NULL Term