SSR_CRSE_MLS_VW(SQL View) |
Index Back |
---|
SELECT B.STRM , B.CLASS_NBR , C.EMPLID , C.ACAD_CAREER , C.MILESTONE_NBR , A.MILESTONE , C.INSTITUTION , C.ACAD_PROG , C.ACAD_PLAN , C.ATTEMPT_NBR , B.CRSE_ID , F.CRSE_GRADE_INPUT , F.GRADING_SCHEME , F.GRADING_BASIS , F.MILESTONE_COMPLETE , G.OPRID FROM %Table(SSR_CRS_MILESTN) A , %Table(CLASS_TBL) B , %Table(SSR_MLSTATM_NZL) C , %Table(STDNT_CAR_MLSTN) D , %Table(GRADE_ROSTER) E , %Table(MLSTN_ATMPT) F , %Table(SCRTY_TBL_MLSTN) G WHERE A.CRSE_ID = B.CRSE_ID AND C.EMPLID = D.EMPLID AND C.INSTITUTION = D.INSTITUTION AND C.ACAD_CAREER = D.ACAD_CAREER AND C.ACAD_PROG = D.ACAD_PROG AND C.ACAD_PLAN = D.ACAD_PLAN AND C.EFFDT = D.EFFDT AND C.MILESTONE_NBR = D.MILESTONE_NBR AND A.MILESTONE = D.MILESTONE AND C.ATTEMPT_NBR = ( SELECT MAX(ATTEMPT_NBR) FROM %Table(SSR_MLSTATM_NZL) C1 WHERE C.EMPLID = C1.EMPLID AND C.INSTITUTION = C1.INSTITUTION AND C.ACAD_CAREER = C1.ACAD_CAREER AND C.ACAD_PROG = C1.ACAD_PROG AND C.ACAD_PLAN = C1.ACAD_PLAN AND C.EFFDT = C1.EFFDT AND C.MILESTONE_NBR = C1.MILESTONE_NBR) AND C.EFFDT = ( SELECT MAX(C2.EFFDT) FROM %Table(SSR_MLSTATM_NZL) C2 WHERE C.EMPLID = C2.EMPLID AND C.INSTITUTION = C2.INSTITUTION AND C.ACAD_CAREER = C2.ACAD_CAREER AND C.ACAD_PROG = C2.ACAD_PROG AND C.ACAD_PLAN = C2.ACAD_PLAN AND C.MILESTONE_NBR = C2.MILESTONE_NBR AND C2.EFFDT <= %CurrentDateIn) AND A.EFFDT = ( SELECT MAX(EFFDT) FROM %Table(SSR_CRS_MILESTN) A1 WHERE A.CRSE_ID = A1.CRSE_ID AND A1.EFFDT <= %CurrentDateIn) AND B.STRM = E.STRM AND B.CLASS_NBR = E.CLASS_NBR AND C.EMPLID = E.EMPLID AND C.ACAD_CAREER = E.ACAD_CAREER AND E.GRD_RSTR_TYPE_SEQ = ( SELECT MAX(E1.GRD_RSTR_TYPE_SEQ) FROM %Table(GRADE_ROSTER) E1 WHERE E1.STRM = E.STRM AND E1.CLASS_NBR = E.CLASS_NBR AND E1.EMPLID = E.EMPLID AND E1.ACAD_CAREER = E.ACAD_CAREER) AND B.CRSE_ID = C.CRSE_ID AND C.STRM = E.STRM AND F.EMPLID = C.EMPLID AND F.INSTITUTION = C.INSTITUTION AND F.ACAD_CAREER = C.ACAD_CAREER AND F.ACAD_PROG = C.ACAD_PROG AND F.EFFDT = C.EFFDT AND F.ACAD_PLAN = C.ACAD_PLAN AND F.MILESTONE_NBR = C.MILESTONE_NBR AND F.ATTEMPT_NBR = C.ATTEMPT_NBR AND D.INSTITUTION = G.INSTITUTION AND G.INQUIRY_USE_IND = 'Y' AND (G.MILESTONE = 'ALL' OR (D.MILESTONE = G.MILESTONE AND NOT EXISTS ( SELECT 'X' FROM %Table(SCRTY_TBL_MLSTN) G1 WHERE G1.OPRID = G.OPRID AND G1.INSTITUTION = G.INSTITUTION AND G1.MILESTONE = 'ALL' AND G1.INQUIRY_USE_IND = 'Y'))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
2 | CLASS_NBR | Number(5,0) | INTEGER NOT NULL | Class Nbr |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | 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 |
5 | MILESTONE_NBR | Number(4,0) | SMALLINT NOT NULL | Milestone Nbr |
6 | MILESTONE | Character(10) | VARCHAR2(10) NOT NULL | Milestone |
7 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
8 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
9 | ACAD_PLAN | Character(10) | VARCHAR2(10) NOT NULL | Academic Plan |
10 | ATTEMPT_NBR | Number(3,0) | SMALLINT NOT NULL | Attempt Nbr |
11 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
12 | CRSE_GRADE_INPUT | Character(3) | VARCHAR2(3) NOT NULL |
Grade Input
A=A Prompt Table: GRADE_REAL_VW |
13 | GRADING_SCHEME | Character(3) | VARCHAR2(3) NOT NULL | Grading Scheme |
14 | GRADING_BASIS | Character(3) | VARCHAR2(3) NOT NULL |
Grading Basis
ANC=ABC/NC Grading AUD=Audit BMT=Multi-Term Course: Not Graded CNC=Credit / No Credit EQV=Equivalent GRD=Graded HSC=Hundred Point Scale (NLD) LAW=Law MED=Medical School Grades NOG=No Grade Associated NON=Non-Graded Component NQF=NQF Scale OPT=Student Option PNP=Pass/Not Pass SUS=Satisfactory/Unsatisfactory TRN=Transfer Grading Basis TSC=Ten Point Scale (NLD) |
15 | MILESTONE_COMPLETE | Character(1) | VARCHAR2(1) NOT NULL |
Milestone Complete
I=In Progress N=Not Completed Y=Completed |
16 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |