SAE_CS_VW(SQL View) |
Index Back |
---|---|
Class view used by SAIPView of Classes used by SAIP Membership integration. |
SELECT /*+ LEADING( CLS_EXT CLS ) */ CLS.CRSE_ID , CLS.CRSE_OFFER_NBR , CLS.STRM , CLS.SESSION_CODE , CLS.CLASS_SECTION , CLS_EXT.SAE_MODE , CLS_EXT.SAE_EVENT_DT , CLS_EXT.SAE_IMS_ASSOC_NBR , CLS.INSTITUTION , CLS.ACAD_ORG , CLS.ACAD_CAREER , CLS.CLASS_NBR FROM %Table(SAE_CLASS_EXT) CLS_EXT , %Table(CRSE_OFFER) OFFER , %Table(CLASS_TBL) CLS , %Table(CRSE_CATALOG) CRSE , %Table(SAE_ACADORG_EXT) ORG_EXT , %Table(SAE_ACADORG_EXT) ORG_EXT1 , %Table(TERM_TBL) TERM , %Table(SAE_TERM_EXT) TERM_EXT , %Table(SAE_INST_SCOPE) INST_EXT ,%Table(SAE_SESSION_EXT) SES_EXT WHERE INST_EXT.INSTITUTION = CLS.INSTITUTION AND INST_EXT.SAE_MODE <> 'D' AND ORG_EXT.INSTITUTION = CLS.INSTITUTION AND ORG_EXT.ACAD_ORG = CLS.ACAD_ORG AND ORG_EXT.SAE_MODE <> 'D' AND ORG_EXT1.INSTITUTION = OFFER.INSTITUTION AND ORG_EXT1.ACAD_ORG = OFFER.ACAD_ORG AND ORG_EXT1.SAE_MODE <> 'D' AND TERM.STRM = CLS.STRM AND TERM.INSTITUTION = CLS.INSTITUTION AND TERM.ACAD_CAREER = CLS.ACAD_CAREER AND TERM_EXT.STRM = CLS_EXT.STRM AND TERM_EXT.INSTITUTION = CLS_EXT.INSTITUTION AND TERM_EXT.ACAD_CAREER = CLS_EXT.ACAD_CAREER AND TERM_EXT.SAE_INCLUDE = 'Y' AND SES_EXT.INSTITUTION = CLS_EXT.INSTITUTION AND SES_EXT.STRM = CLS_EXT.STRM AND SES_EXT.ACAD_CAREER = CLS_EXT.ACAD_CAREER AND SES_EXT.SESSION_CODE = CLS_EXT.SESSION_CODE AND %Coalesce(CLS_EXT.SAE_INTEG_START_DT, %DateAdd(CLS.START_DT, SES_EXT.SAE_START_OFFSET)) <= %CurrentDateIn AND %Coalesce(CLS_EXT.SAE_INTEG_END_DT, %DateAdd(CLS.END_DT, SES_EXT.SAE_END_OFFSET)) >= %CurrentDateIn AND CRSE.CRSE_ID = CLS.CRSE_ID AND CRSE.EFFDT = %Coalesce((select max(effdt) FROM PS_CRSE_CATALOG CRSE_CATALOG1 WHERE CRSE_CATALOG1.CRSE_ID =CRSE.CRSE_ID AND CRSE_CATALOG1.EFFDT <=%CurrentDateIn ) ,(select min(effdt) FROM PS_CRSE_CATALOG CRSE_CATALOG1 WHERE CRSE_CATALOG1.CRSE_ID =CRSE.CRSE_ID AND CRSE_CATALOG1.EFFDT >%CurrentDateIn )) AND OFFER.CRSE_ID = CLS.CRSE_ID AND OFFER.CRSE_OFFER_NBR = CLS.CRSE_OFFER_NBR AND OFFER.EFFDT = %Coalesce((select max(effdt) FROM PS_CRSE_OFFER CRSE_OFFER1 WHERE CRSE_OFFER1.CRSE_ID =OFFER.CRSE_ID AND CRSE_OFFER1.CRSE_OFFER_NBR=OFFER.CRSE_OFFER_NBR AND CRSE_OFFER1.EFFDT <=%CurrentDateIn ) ,( select min(effdt) FROM PS_CRSE_OFFER CRSE_OFFER1 WHERE CRSE_OFFER1.CRSE_ID =OFFER.CRSE_ID AND CRSE_OFFER1.CRSE_OFFER_NBR=OFFER.CRSE_OFFER_NBR AND CRSE_OFFER1.EFFDT >%CurrentDateIn )) AND OFFER.COURSE_APPROVED = 'A' AND CLS_EXT.CRSE_ID = CLS.CRSE_ID AND CLS_EXT.CRSE_OFFER_NBR = CLS.CRSE_OFFER_NBR AND CLS_EXT.STRM = CLS.STRM AND CLS_EXT.SESSION_CODE = CLS.SESSION_CODE AND CLS_EXT.CLASS_SECTION = CLS.CLASS_SECTION AND CLS_EXT.SAE_INCLUDE = 'Y' AND CLS_EXT.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 |
5 | CLASS_SECTION | Character(4) | VARCHAR2(4) NOT NULL | Class Section |
6 | SAE_MODE | Character(1) | VARCHAR2(1) NOT NULL |
Operation Mode
A=Add C=Change D=Delete |
7 | SAE_EVENT_DT | DateTime(26) | TIMESTAMP | Event Driven Timestamp |
8 | SAE_IMS_ASSOC_NBR | Number(4,0) | SMALLINT NOT NULL | IMS Association Number |
9 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: CRSE_OFFER.INSTITUTION Prompt Table: INSTITUTION_TBL |
10 | ACAD_ORG | Character(10) | VARCHAR2(10) NOT NULL | Academic Organization |
11 | 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 |
12 | CLASS_NBR | Number(5,0) | INTEGER NOT NULL | Class Nbr |