SAE_LDAPCLASSV2

(SQL View)
Index Back

Class Scope Table


SELECT CLASS_EXT.CRSE_ID , CLASS_EXT.CRSE_OFFER_NBR , CLASS_EXT.STRM , CLASS_EXT.SESSION_CODE , CLASS_EXT.CLASS_SECTION , CLASS_EXT.INSTITUTION , CLASS_EXT.CLASS_NBR , CLASS_EXT.ACAD_ORG , CLASS_EXT.ACAD_CAREER , CLASS_EXT.SAE_MODE , CLASS_EXT.SAE_EVENT_DT , CLASS_EXT.SAE_IMS_ASSOC_NBR FROM %Table(SAE_CLASS_EXT) CLASS_EXT , %Table(TERM_TBL) TERM , %Table(SAE_TERM_EXT) TERM_EXT ,%Table(SAE_SESSION_EXT) SES_EXT , %Table(SAE_INST_SCOPE) INSTSCOPE , %Table(SAE_ACADORG_EXT) ORGSCOPE WHERE CLASS_EXT.SAE_INCLUDE = 'Y' AND TERM.INSTITUTION = CLASS_EXT.INSTITUTION AND TERM.ACAD_CAREER = CLASS_EXT.ACAD_CAREER AND TERM.STRM = CLASS_EXT.STRM AND TERM_EXT.INSTITUTION = TERM.INSTITUTION AND TERM_EXT.ACAD_CAREER = TERM.ACAD_CAREER AND TERM_EXT.STRM = TERM.STRM AND SES_EXT.INSTITUTION = CLASS_EXT.INSTITUTION AND SES_EXT.STRM = CLASS_EXT.STRM AND SES_EXT.ACAD_CAREER = CLASS_EXT.ACAD_CAREER AND SES_EXT.SESSION_CODE = CLASS_EXT.SESSION_CODE AND %Coalesce(CLASS_EXT.SAE_INTEG_START_DT, %DateAdd(CLASS_EXT.START_DT, SES_EXT.SAE_START_OFFSET)) <= %CurrentDateIn AND %Coalesce(CLASS_EXT.SAE_INTEG_END_DT, %DateAdd(CLASS_EXT.END_DT, SES_EXT.SAE_END_OFFSET)) >= %CurrentDateIn AND INSTSCOPE.INSTITUTION = CLASS_EXT.INSTITUTION AND INSTSCOPE.SAE_MODE <> 'D' AND ORGSCOPE.INSTITUTION = CLASS_EXT.INSTITUTION AND ORGSCOPE.ACAD_ORG = CLASS_EXT.ACAD_ORG AND ORGSCOPE.SAE_MODE <> 'D'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
2 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
3 STRM Character(4) VARCHAR2(4) NOT NULL Term
4 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

Default Value: TERM_TBL.SESSION_CODE

Prompt Table: SESSION_TBL

5 CLASS_SECTION Character(4) VARCHAR2(4) NOT NULL Class Section
6 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: CRSE_OFFER.INSTITUTION

Prompt Table: INSTITUTION_TBL

7 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
8 ACAD_ORG Character(10) VARCHAR2(10) NOT NULL Academic Organization
9 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

Default Value: CRSE_OFFER.ACAD_CAREER

10 SAE_MODE Character(1) VARCHAR2(1) NOT NULL Operation Mode
A=Add
C=Change
D=Delete
11 SAE_EVENT_DT DateTime(26) TIMESTAMP Event Driven Timestamp
12 SAE_IMS_ASSOC_NBR Number(4,0) SMALLINT NOT NULL IMS Association Number