SSR_APT_EQT_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 , 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.DESCR , ' ' , I.DESCR %Concat ' | '%Concat J.DESCR %Concat ' | ' %Concat H.DESCR , H.TERM_BEGIN_DT 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_TERM_TBL H , PS_INSTITUTION_TBL I , PS_ACAD_CAR_TBL J 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_eqt 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 B.INSTITUTION = H.INSTITUTION AND B.ACAD_CAREER = H.ACAD_CAREER AND G.STRM = H.STRM AND H.INSTITUTION = B.INSTITUTION AND H.ACAD_CAREER = B.ACAD_CAREER AND I.INSTITUTION = B.INSTITUTION AND %EffdtCheck(INSTITUTION_TBL X4, I,%currentdatein) AND J.INSTITUTION = B.INSTITUTION AND J.ACAD_CAREER = B.ACAD_CAREER AND %EffdtCheck(ACAD_CAR_TBL X45, J,%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 SSR_APT_ITEM_SEQ Number(6,0) INTEGER NOT NULL APT Item Seq
6 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

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

Prompt Table: SSR_AIR_HDR

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

Prompt Table: SSR_ITEM_TYPE

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

Prompt Table: SSR_ENRL_CAT

10 ATTEMPT_NBR Number(3,0) SMALLINT NOT NULL Attempt Nbr
11 SSR_SEQ_NBR Number(4,0) SMALLINT NOT NULL Sequence Number
12 DESCR Character(30) VARCHAR2(30) NOT NULL Description
13 SSR_ENRL_CAT_DESCR Character(30) VARCHAR2(30) NOT NULL Enrollment Category
14 SSR_STDNTKEY_DESCR Character(100) VARCHAR2(100) NOT NULL Term
15 TERM_BEGIN_DT Date(10) DATE Term Begin Date