SSR_APTSY_CT3_V

(SQL View)
Index Back

APT Sync View 2 - Course TC

When data is in tracking but no longer in course transfer credit - this will be a course tc delete action

SELECT t.emplid , t.institution , t.acad_career , t.strm , t.ssr_apt_instance , 0 AS class_nbr , t.model_nbr , t.trnsfr_eqvlncy_grp , t.trnsfr_eqvlncy_seq , t.crse_id , t.crse_offer_nbr , 0 AS crs_topic_id , ' ' AS session_code , p.acad_prog , 'N' AS ssr_aptsyn_actn_x , 'CD' AS ssr_aptsync_action FROM PS_SSR_APT_SYN_TRK t , ps_ssr_aptsy_trrvw r , ps_ssr_aptsy_prg_v p , ps_term_tbl te , ps_crse_offer c WHERE t.ssr_aptsync_action <> 'CD' AND r.institution = t.institution AND t.trnsfr_credit_type = '1C' AND t.strm >= r.strm_from AND t.strm <= r.strm_to AND NOT EXISTS ( SELECT 'x' FROM ps_trns_crse_dtl d WHERE d.emplid = t.emplid AND d.acad_career = t.acad_career AND d.institution = t.institution AND d.articulation_term = t.strm AND d.model_nbr = t.model_nbr AND d.trnsfr_eqvlncy_grp = t.trnsfr_eqvlncy_grp AND d.trnsfr_eqvlncy_seq = t.trnsfr_eqvlncy_seq AND d.crse_id = t.crse_id AND d.crse_offer_nbr = t.crse_offer_nbr) AND p.emplid = t.emplid AND p.acad_career = t.acad_career AND p.institution = t.institution AND p.ssr_cohort_term <= t.strm AND p.ssr_apt_instance = t.ssr_apt_instance AND te.institution = t.institution AND te.acad_career = t.acad_career AND te.strm = t.strm AND c.institution = t.institution AND c.crse_id = t.crse_id AND c.crse_offer_nbr = t.crse_offer_nbr AND c.effdt = ( SELECT MAX(c2.effdt) FROM ps_crse_offer c2 WHERE c2.crse_id = c.crse_id AND c2.crse_offer_nbr = c.crse_offer_nbr AND c2.effdt <= te.term_begin_dt)

# 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 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
4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
6 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
7 MODEL_NBR Number(3,0) SMALLINT NOT NULL Transfer Model Nbr
8 TRNSFR_EQVLNCY_GRP Number(3,0) SMALLINT NOT NULL Transfer Equivalency Group
9 TRNSFR_EQVLNCY_SEQ Number(3,0) SMALLINT NOT NULL Transfer Equivalency Seq
10 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
11 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
12 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
13 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
14 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
15 SSR_APTSYN_ACTN_X Character(1) VARCHAR2(1) NOT NULL Include Previously Unmatched
16 SSR_APTSYNC_ACTION Character(2) VARCHAR2(2) NOT NULL APT Sync Request Action
CD=Course Credit Delete
CP=Course Credit Post
CU=Course Credit Unpost
D=Drop
DD=Drop Delete
E=Enroll
OD=Other Credit Delete
OP=Other Credit Post
OU=Other Credit Unpost
TD=Test Credit Delete
TP=Test Credit Post
TU=Test Credit Unpost