SSR_APTSY_EN2VW

(SQL View)
Index Back

APT Sync View - Enrollments

Enrollments where data not in tracking or in tracking but with different stataus

SELECT s.emplid , s.institution , s.acad_career , s.strm , s.ssr_apt_instance , s.class_nbr , ' ' AS trnsfr_credit_type , 0 AS model_nbr , 0 AS trnsfr_eqvlncy_grp , 0 AS trnsfr_eqvlncy_seq , c.crse_id , c.crse_offer_nbr , s.stdnt_enrl_status , ' ' AS model_status , ' ' AS trnsfr_stat , c.subject , c.catalog_nbr , c.crs_topic_id , s.session_code , s.acad_prog , s.ssr_apt_multi_pgm , s.earn_credit , s.valid_attempt , CASE WHEN s.stdnt_enrl_status = 'E' THEN 'Y' ELSE ' ' END AS ssr_apt_syn_ec_flg , CASE WHEN s.stdnt_enrl_status = 'D' THEN 'Y' ELSE ' ' END AS ssr_apt_syn_dc_flg , ' ' AS ssr_apt_syn_ct_flg , ' ' AS ssr_apt_syn_tt_flg , ' ' AS ssr_apt_syn_ot_flg , CASE WHEN s.stdnt_enrl_status = 'E' THEN 500 ELSE 100 END AS ssr_aptsyn_actprio , 0 AS ssr_aptsyn_attprio , CASE WHEN t.ssr_apt_syn_status = 'X' THEN 'Y' ELSE 'N' END AS ssr_aptsyn_actn_x , CASE WHEN s.stdnt_enrl_status = 'W' THEN 'D' ELSE s.stdnt_enrl_status END AS ssr_aptsync_action FROM ps_ssr_aptsy_en1vw s LEFT OUTER JOIN PS_SSR_APT_SYN_TRK t ON s.emplid = t.emplid AND s.acad_career = t.acad_career AND s.institution = t.institution AND s.strm = t.strm AND s.class_nbr = t.class_nbr AND s.ssr_apt_instance = t.ssr_apt_instance AND t.trnsfr_credit_type = ' ' , ps_class_tbl c WHERE ((s.stdnt_enrl_status <> t.stdnt_enrl_status) OR (t.stdnt_enrl_status IS NULL) OR (t.ssr_apt_syn_status = 'X')) AND (s.stdnt_enrl_status IN ('E', 'D') OR s.stdnt_enrl_status <> t.stdnt_enrl_status) AND c.class_type = 'E' AND c.institution = s.institution AND c.strm = s.strm AND c.class_nbr = s.class_nbr

# 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