SSR_APT_EQS_VW

(SQL View)
Index Back

APT EQT item view

This view displays all the items that equates to a term in the APT

SELECT B.EMPLID , B.INSTITUTION , B.SSR_APT_INSTANCE , G.STRM , G.SESSION_CODE , E.SSR_APT_ITEM_SEQ , B.ACAD_CAREER , E.SSR_ITEM_ID , E.SSR_ITEM_TYPE , E.SSR_ENRL_CAT , F.attempt_nbr , G.ssr_seq_nbr , H.DESCR50 FROM ps_ssr_apt_hdr B , ps_SSR_AIR_HDR_PRG C , ps_SSR_PROG_FORM D , PS_SSR_APT_ITEM E , PS_SSR_APT_ATT F , PS_SSR_APT_SCHD G , PS_SSR_AIR_HDR H WHERE B.ssr_item_id = C.SSR_ITEM_ID AND B.institution = C.institution AND C.effdt = ( SELECT MAX(X1.EFFDT) FROM ps_SSR_AIR_HDR_PRG X1 WHERE X1.institution=C.INSTITUTION AND X1.ssr_item_id = C.SSR_ITEM_ID AND X1.effdt <= %CurrentDateIn) AND C.ssr_format_id = D.ssr_format_id AND C.institution = D.institution AND E.emplid=B.emplid AND E.institution = B.INSTITUTION AND E.SSR_APT_INSTANCE = B.SSR_APT_INSTANCE AND E.ssr_item_type = D.ssr_item_type_eqs AND E.institution = F.institution AND E.EMPLID = F.emplid AND E.ssr_apt_instance = F.ssr_apt_instance AND E.ssr_apt_item_seq = F.ssr_apt_item_seq AND F.attempt_nbr = ( SELECT MAX(X2.attempt_nbr) FROM PS_SSR_APT_ATT X2 WHERE F.institution = X2.institution AND F.EMPLID = X2.emplid AND F.ssr_apt_instance = X2.ssr_apt_instance AND F.ssr_apt_item_seq = X2.ssr_apt_item_seq) AND E.institution = G.institution AND E.EMPLID = G.emplid AND E.ssr_apt_instance = G.ssr_apt_instance AND E.ssr_apt_item_seq = G.ssr_apt_item_seq AND F.attempt_nbr = G.attempt_nbr AND G.SSR_SEQ_NBR = ( SELECT MAX(X3.SSR_SEQ_NBR) FROM PS_SSR_APT_SCHD X3 WHERE X3.institution = G.institution AND X3.EMPLID = G.emplid AND X3.ssr_apt_instance = G.ssr_apt_instance AND X3.ssr_apt_item_seq = G.ssr_apt_item_seq AND X3.attempt_nbr = G.attempt_nbr) AND H.INSTITUTION = B.INSTITUTION AND H.SSR_ITEM_ID = E.SSR_ITEM_ID AND %EffdtCheck(SSR_AIR_HDR X4, H, %currentdatein)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

3 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number

Default Value: 1

4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 SESSION_CODE Character(3) VARCHAR2(3) NOT NULL Session
1=Regular Academic Session
10W=10 Week
12W=Twelve Week
4W1=Four Week - First
4W2=Four Week - Second
4W3=Four Week - Third
4W4=Four Week - Fourth
6W1=Six Week - First
6W2=Six Week - Second
8W1=Eight Week - First
8W2=Eight Week - Second
A11=Medical Period 1, 4 Weeks
A12=Medical Period 1, 8 Weeks
A13=Medical Pd 1, 12 Weeks
A21=Medical Period 2, 4 Weeks
A22=Medical Period 2, 8 Weeks
A23=Medical Period 2, 12 Week
FYR=Full Year
MIN=Mini Session
OEE=Open Entry/Open Exit
SM1=Semester 1
SM2=Semester 2
6 SSR_APT_ITEM_SEQ Number(6,0) INTEGER NOT NULL APT Item Seq
7 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

Prompt Table: STDNT_CAREER_V2

8 SSR_ITEM_ID Character(11) VARCHAR2(11) NOT NULL Academic Item ID

Prompt Table: SSR_AIR_HDR

9 SSR_ITEM_TYPE Character(20) VARCHAR2(20) NOT NULL Academic Item Type

Prompt Table: SSR_ITEM_TYPE

10 SSR_ENRL_CAT Character(4) VARCHAR2(4) NOT NULL Enrollment Category

Prompt Table: SSR_ENRL_CAT

11 ATTEMPT_NBR Number(3,0) SMALLINT NOT NULL Attempt Nbr
12 SSR_SEQ_NBR Number(4,0) SMALLINT NOT NULL Sequence Number
13 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50