SSR_APTSY_CT4VW

(SQL View)
Index Back

APT Sync View 4 - Course TC

TC is in APT but not in tracker and not in course transfer credit

SELECT t.emplid , t.institution , t.src_career , t.articulation_term , t.ssr_apt_instance , 0 AS class_nbr , '1C' AS trnsfr_credit_type , t.model_nbr , t.trnsfr_eqvlncy_grp , t.trnsfr_eqvlncy_seq , a.crse_id , a.crse_offer_nbr , ' ' AS stdnt_enrl_status , ' ' AS model_status , ' ' AS trnsfr_stat , c.subject , c.catalog_nbr , 0 AS crs_topic_id , ' ' AS session_code , p.acad_prog , p.ssr_apt_multi_pgm , ' ' AS earn_credit , ' ' AS valid_attempt , ' ' AS ssr_apt_syn_ec_flg , ' ' AS ssr_apt_syn_dc_flg , 'Y' AS ssr_apt_syn_ct_flg , ' ' AS ssr_apt_syn_tt_flg , ' ' AS ssr_apt_syn_ot_flg , 200 AS ssr_aptsyn_actprio , 100 AS ssr_aptsyn_attprio , 'N' AS ssr_aptsyn_actn_x , 'CD' AS ssr_aptsync_action FROM ps_ssr_apt_trcr t , ps_ssr_apt_att a , ps_ssr_aptsy_trrvw r , ps_ssr_aptsy_prgvw p , ps_term_tbl te , ps_crse_offer c WHERE a.emplid = t.emplid AND a.institution = t.institution AND a.ssr_apt_instance = t.ssr_apt_instance AND a.ssr_apt_item_seq = t.ssr_apt_item_seq AND a.attempt_nbr = t.attempt_nbr AND r.institution = t.institution AND t.trnsfr_credit_type = '1C' AND t.articulation_term >= r.strm_from AND t.articulation_term <= r.strm_to AND t.emplid NOT IN ( SELECT d.emplid FROM ps_trns_crse_dtl d WHERE d.emplid = t.emplid AND d.acad_career = t.src_career AND d.institution = t.institution AND d.articulation_term = t.articulation_term 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 = a.crse_id AND d.crse_offer_nbr = a.crse_offer_nbr) AND t.emplid NOT IN ( SELECT x.emplid FROM PS_SSR_APT_SYN_TRK x WHERE x.emplid = t.emplid AND x.acad_career = t.src_career AND x.institution = t.institution AND x.strm = t.articulation_term AND x.model_nbr = t.model_nbr AND x.trnsfr_eqvlncy_grp = t.trnsfr_eqvlncy_grp AND x.trnsfr_eqvlncy_seq = t.trnsfr_eqvlncy_seq AND x.crse_id = a.crse_id AND x.crse_offer_nbr = a.crse_offer_nbr AND x.trnsfr_credit_type = '1C') AND p.emplid = t.emplid AND p.acad_career = t.src_career AND p.institution = t.institution AND p.ssr_cohort_term <= t.articulation_term AND p.ssr_apt_instance = t.ssr_apt_instance AND te.institution = t.institution AND te.acad_career = t.src_career AND te.strm = t.articulation_term AND c.institution = t.institution AND c.crse_id = a.crse_id AND c.crse_offer_nbr = a.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 TRNSFR_CREDIT_TYPE Character(2) VARCHAR2(2) NOT NULL Transfer Credit Type
1C=Course Credits
2T=Test Credits
3O=Other Credits
8 MODEL_NBR Number(3,0) SMALLINT NOT NULL Transfer Model Nbr
9 TRNSFR_EQVLNCY_GRP Number(3,0) SMALLINT NOT NULL Transfer Equivalency Group
10 TRNSFR_EQVLNCY_SEQ Number(3,0) SMALLINT NOT NULL Transfer Equivalency Seq
11 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
12 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
13 STDNT_ENRL_STATUS Character(2) VARCHAR2(2) NOT NULL Student Enrollment Status
D=Dropped
E=Enrolled
W=Waiting
14 MODEL_STATUS Character(1) VARCHAR2(1) NOT NULL Model Status
C=Evaluation Complete
M=Submitted
P=Posted
U=Unposted
15 TRNSFR_STAT Character(1) VARCHAR2(1) NOT NULL Transfer Status
C=Contingent Credit
N=Rejected
P=Posted
R=No Rule
Y=Accepted
16 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area
17 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
18 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
19 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
20 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
21 SSR_APT_MULTI_PGM Character(1) VARCHAR2(1) NOT NULL Include Multiple APT
22 EARN_CREDIT Character(1) VARCHAR2(1) NOT NULL Earn Credit
23 VALID_ATTEMPT Character(1) VARCHAR2(1) NOT NULL Valid Attempted Grade
24 SSR_APT_SYN_EC_FLG Character(1) VARCHAR2(1) NOT NULL Enrolled Class
25 SSR_APT_SYN_DC_FLG Character(1) VARCHAR2(1) NOT NULL Dropped Class
26 SSR_APT_SYN_CT_FLG Character(1) VARCHAR2(1) NOT NULL Course Transfer Credit
27 SSR_APT_SYN_TT_FLG Character(1) VARCHAR2(1) NOT NULL Test Transfer Credit
28 SSR_APT_SYN_OT_FLG Character(1) VARCHAR2(1) NOT NULL Other Transfer Credit
29 SSR_APTSYN_ACTPRIO Number(6,0) INTEGER NOT NULL APT Sync Action Priority
30 SSR_APTSYN_ATTPRIO Number(6,0) INTEGER NOT NULL APT Sync Attempt Priority
31 SSR_APTSYN_ACTN_X Character(1) VARCHAR2(1) NOT NULL Include Previously Unmatched
32 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