SSR_CLSAUD_ESVW(SQL View) |
Index Back |
---|---|
SR Class Search Audit ViewSR Class Search Audit View |
SELECT DISTINCT A.CRSE_ID , A.CRSE_OFFER_NBR , A.STRM , A.SESSION_CODE , A.CLASS_SECTION , A.INSTITUTION , A.ACAD_CAREER , A.CLASS_NBR , A.SSR_COMPONENT , B.FIELDVALUE , E.DESCR1 , E.DESCR2 , E.DESCR3 , G.DESCR , I.RQMNT_DESIGNTN , D.CRSE_ATTR , D.CRSE_ATTR_VALUE , CASE WHEN D.DESCR1 <> ' ' THEN CASE WHEN J.SSR_CLSCFG_ATTRVAL = 'Y' THEN D.DESCR1 || '/' || D.DESCR2 ELSE D.DESCR1 END END , F.SSR_CAF_DESCR1 , F.SSR_CAF_DESCR2 , F.SSR_CAF_DESCR3 , F.SSR_CAF_DESCR4 , F.SSR_CAF_DESCR5 , K.SSR_SHIFT_ES , L.DESCR , M.DESCR , H.XLATLONGNAME , A.ASSOCIATED_CLASS , A.INSTRUCTION_MODE , C.WAIT_LIST_OKAY FROM PS_SSR_CTBL_AUD_ES A LEFT OUTER JOIN PS_SSR_CATR_AUD_VW D ON A.CRSE_ID = D.CRSE_ID AND A.CRSE_OFFER_NBR = D.CRSE_OFFER_NBR AND A.STRM = D.STRM AND A.SESSION_CODE = D.SESSION_CODE AND A.CLASS_SECTION = D.CLASS_SECTION LEFT OUTER JOIN PS_SSR_MTG_AUD_VW E ON A.CRSE_ID = E.CRSE_ID AND A.CRSE_OFFER_NBR = E.CRSE_OFFER_NBR AND A.STRM = E.STRM AND A.SESSION_CODE = E.SESSION_CODE AND A.CLASS_SECTION = E.CLASS_SECTION LEFT OUTER JOIN PS_SSR_CASC_AUD_ES F ON A.CRSE_ID = F.CRSE_ID AND A.CRSE_OFFER_NBR = F.CRSE_OFFER_NBR AND A.STRM = F.STRM AND A.SESSION_CODE = F.SESSION_CODE AND ((F.ASSOCIATED_CLASS = A.ASSOCIATED_CLASS AND F.CLASS_SECTION = A.CLASS_SECTION) OR A.ASSOCIATED_CLASS = 9999) LEFT OUTER JOIN PS_SSR_RQDS_AUD_VW I ON A.CRSE_ID = I.CRSE_ID AND A.CRSE_OFFER_NBR = I.CRSE_OFFER_NBR AND A.STRM = I.STRM AND A.SESSION_CODE = I.SESSION_CODE AND (I.ASSOCIATED_CLASS = A.ASSOCIATED_CLASS OR I.ASSOCIATED_CLASS = 9999) LEFT OUTER JOIN PS_SSR_SHFT_AUD_VW K ON A.CRSE_ID = K.CRSE_ID AND A.CRSE_OFFER_NBR = K.CRSE_OFFER_NBR AND A.STRM = K.STRM AND A.SESSION_CODE = K.SESSION_CODE AND A.CLASS_SECTION = K.CLASS_SECTION , PSXLATITEM B , PS_SSR_ENRL_OPT_VW C , PS_SSR_UNIT_AUD_VW G , PSXLATITEM H , PS_SSR_CS_GEN_OPTS J , PS_CAMPUS_TBL L , PS_LOCATION_TBL M , PS_SET_CNTRL_REC S , PS_TERM_TBL T WHERE T.INSTITUTION = A.INSTITUTION AND T.ACAD_CAREER = A.ACAD_CAREER AND T.STRM = A.STRM AND ( (( B.FIELDNAME = 'SSR_CLSRCH_QRY_VAL' AND B.FIELDVALUE IN ('O','C','W') AND C.WAIT_LIST_OKAY = 'Y') OR ( B.FIELDNAME = 'SSR_CLSRCH_QRY_VAL' AND B.FIELDVALUE IN ('O','C') AND C.WAIT_LIST_OKAY <> 'Y')) AND G.CRSE_ID = A.CRSE_ID AND G.CRSE_OFFER_NBR = A.CRSE_OFFER_NBR AND G.STRM = A.STRM AND G.SESSION_CODE = A.SESSION_CODE AND G.ASSOCIATED_CLASS = A.ASSOCIATED_CLASS AND G.CLASS_SECTION = A.CLASS_SECTION AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PSXLATITEM B_ED WHERE B.FIELDNAME = B_ED.FIELDNAME AND B.FIELDVALUE = B_ED.FIELDVALUE AND B_ED.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND H.FIELDNAME = 'SSR_COMPONENT' AND H.FIELDVALUE = A.SSR_COMPONENT AND H.EFFDT = ( SELECT MAX(H_ED.EFFDT) FROM PSXLATITEM H_ED WHERE H.FIELDNAME = H_ED.FIELDNAME AND H.FIELDVALUE = H_ED.FIELDVALUE AND H_ED.EFFDT <= %CurrentDateIn) AND H.EFF_STATUS = 'A' AND L.INSTITUTION = A.INSTITUTION AND L.CAMPUS = A.CAMPUS AND L.EFFDT = ( SELECT MAX(L_ED.EFFDT) FROM PS_CAMPUS_TBL L_ED WHERE L.INSTITUTION = L_ED.INSTITUTION AND L.CAMPUS = L_ED.CAMPUS AND L_ED.EFFDT <= T.TERM_BEGIN_DT) AND L.EFF_STATUS = 'A' AND S.RECNAME = 'LOCATION_TBL' AND S.SETCNTRLVALUE = A.INSTITUTION AND M.SETID = S.SETID AND M.LOCATION = A.LOCATION AND M.EFFDT = ( SELECT MAX(M_ED.EFFDT) FROM PS_LOCATION_TBL M_ED WHERE M.SETID = M_ED.SETID AND M.LOCATION = M_ED.LOCATION AND M_ED.EFFDT <= T.TERM_BEGIN_DT) AND M.EFF_STATUS = 'A' ) |
# | 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
7 | 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 |
8 | CLASS_NBR | Number(5,0) | INTEGER NOT NULL | Class Nbr |
9 | SSR_COMPONENT | Character(3) | VARCHAR2(3) NOT NULL |
Course Component.
CLN=Clinical CON=Continuance DIS=Discussion FLD=Field Studies IND=Independent Study LAB=Laboratory LEC=Lecture PRA=Practicum RSC=Research SEM=Seminar SUP=Supervision THE=Thesis Research TUT=Tutorial |
10 | ENRL_STAT | Character(1) | VARCHAR2(1) NOT NULL |
Enrollment Status
C=Closed O=Open W=Wait List |
11 | CLASS_MTG_DAYS | Character(30) | VARCHAR2(30) NOT NULL | Class Meeting Days |
12 | SSR_START_TIMES_ES | Character(30) | VARCHAR2(30) NOT NULL | Class Start Times |
13 | SSR_END_TIMES_ES | Character(30) | VARCHAR2(30) NOT NULL | Class End Times |
14 | SSR_NUM_UNITS_ES | Character(30) | VARCHAR2(30) NOT NULL | Number of Units |
15 | RQMNT_DESIGNTN | Character(4) | VARCHAR2(4) NOT NULL | This field is used to track the Requirement Designation attached to a course in Student Records. This field is also used for tracking information through Academic Advisement. |
16 | CRSE_ATTR | Character(4) | VARCHAR2(4) NOT NULL | Course Attribute |
17 | CRSE_ATTR_VALUE | Character(10) | VARCHAR2(10) NOT NULL | Course Attribute Value |
18 | SSR_CLS_ATTR_FL2 | Character(70) | VARCHAR2(70) NOT NULL | Class Attribute |
19 | SSR_CAF_DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | CAF Option 1 |
20 | SSR_CAF_DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | CAF Option 2 |
21 | SSR_CAF_DESCR3 | Character(30) | VARCHAR2(30) NOT NULL | CAF Option 3 |
22 | SSR_CAF_DESCR4 | Character(30) | VARCHAR2(30) NOT NULL | CAF Option 4 |
23 | SSR_CAF_DESCR5 | Character(30) | VARCHAR2(30) NOT NULL | CAF Option 5 |
24 | SSR_SHIFT_ES | Character(30) | VARCHAR2(30) NOT NULL | Shift |
25 | SSR_CAMPUS_ES | Character(30) | VARCHAR2(30) NOT NULL | Campus |
26 | SSR_LOC_DESCR_ES | Character(30) | VARCHAR2(30) NOT NULL | Location Description |
27 | SSR_CLASS_COMPO_ES | Character(30) | VARCHAR2(30) NOT NULL | Class Component |
28 | ASSOCIATED_CLASS | Number(4,0) | SMALLINT NOT NULL | Associated Class |
29 | INSTRUCTION_MODE | Character(2) | VARCHAR2(2) NOT NULL | Instruction Mode |
30 | WAIT_LIST_OKAY | Character(1) | VARCHAR2(1) NOT NULL | Wait List Okay |