SSR_APTSY_CRSVW

(SQL View)
Index Back

APT Sync Search View for Class


SELECT DISTINCT t.emplid , t.institution , t.acad_career , t.strm , t.acad_prog , t.ssr_apt_instance , CASE WHEN t.class_nbr > 0 THEN offr.subject %Concat ' ' %Concat offr.catalog_nbr %Concat ' ...(' %Concat t.ssr_aptsy_cls_nbr %Concat ')' ELSE offr.subject %Concat ' ' %Concat offr.catalog_nbr %Concat ' ...(' %Concat t.ssr_aptsync_source %Concat '-' %Concat t.ssr_aptsy_mdl_nbr %Concat t.ssr_aptsy_trn_grp %Concat t.ssr_aptsy_trn_seq %Concat ')' END AS ssr_apt_crse_info , cat.descr , t.session_code , t.class_nbr , t.crs_topic_id , t.ssr_aptsync_source , t.ssr_aptsync_action , t.ssr_aptsyn_actn_x FROM ps_ssr_aptsy_txn_v t ,ps_term_tbl te ,ps_crse_catalog cat ,PS_CRSE_OFFER offr WHERE te.institution = t.institution AND te.acad_career = t.acad_career AND te.strm = t.strm AND cat.crse_id = t.crse_id AND cat.effdt = ( SELECT MAX(cat2.effdt) FROM ps_crse_catalog cat2 WHERE cat2.crse_id = cat.crse_id AND cat2.effdt <= te.term_begin_dt) AND cat.eff_status = 'A' AND offr.crse_id = t.crse_id AND offr.crse_offer_nbr = t.crse_offer_nbr AND offr.effdt = cat.effdt AND NOT EXISTS ( SELECT 'X' FROM ps_ssr_apt_enrl b WHERE t.emplid = b.emplid AND t.institution = b.institution AND t.ssr_apt_instance = b.ssr_apt_instance AND t.acad_career = b.src_career AND t.strm = b.src_term AND t.class_nbr = b.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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program

Prompt Table: ACAD_PROG_TBL

6 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
7 SSR_APT_CRSE_INFO Character(30) VARCHAR2(30) NOT NULL Course Information
8 DESCR Character(30) VARCHAR2(30) NOT NULL Description
9 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
10 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
11 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
12 SSR_APTSYNC_SOURCE Character(1) VARCHAR2(1) NOT NULL Source Type
C=Course Transfer Credit
E=Enrollment
O=Other Transfer Credit
T=Test Transfer Credit
13 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
14 SSR_APTSYN_ACTN_X Character(1) VARCHAR2(1) NOT NULL Previously Unmatched

Y/N Table Edit