SSR_APT_TMLN_VW

(SQL View)
Index Back

APT Timeline Items


SELECT A.EMPLID , A.INSTITUTION , A.SSR_APT_INSTANCE , A.ACAD_CAREER , F.SSR_SEQ_NBR , F.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 , F.STRM FROM PS_SSR_APT_HDR A , PS_SSR_AIR_HDR B , PS_SSR_AIR_HDR_PRG C , PS_ACAD_PROG E , PS_SSR_APT_TIMETBL F 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.EMPLID = F.EMPLID AND A.INSTITUTION = F.INSTITUTION AND A.SSR_APT_INSTANCE=F.SSR_APT_INSTANCE AND F.SESSION_CODE = ' ' AND F.SSR_SEQ_NBR = ( SELECT MAX(F1.SSR_SEQ_NBR) FROM PS_SSR_APT_TIMETBL F1 WHERE F.EMPLID = F1.EMPLID AND F.INSTITUTION = F1.INSTITUTION AND F.SSR_APT_INSTANCE = F1.SSR_APT_INSTANCE AND F.SSR_NODE_ID = F1.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