GRADE_TBL2_VW(SQL View) |
Index Back |
---|---|
Grade Table ViewThis view contains valid values of Grades for each the Grading Basis from the Grade_Tbl. Grading_Basis has been rename to Grading_Basis_List in this view for prompt support on the enrollment tables. |
SELECT a.setid ,a.grading_scheme ,a.effdt ,a.grading_basis ,a.crse_grade_input ,a.descr ,a.descrshort ,a.grade_convert ,a.grade_points ,a.earn_credit ,a.include_in_gpa ,a.in_progress_grd ,b.eff_status FROM PS_GRADE_TBL a , ps_gradescheme_tbl b WHERE a.setid = b.setid AND a.grading_scheme = b.grading_scheme AND a.effdt = b.effdt UNION SELECT DISTINCT A.SETID , A.GRADING_SCHEME , %dateadd(b.EFFDT, -1) , A.GRADING_BASIS , A.CRSE_GRADE_INPUT , A.DESCR , A.DESCRSHORT , A.GRADE_CONVERT , A.GRADE_POINTS , A.EARN_CREDIT , A.INCLUDE_IN_GPA , A.IN_PROGRESS_GRD , 'I' FROM PS_GRADE_TBL a , PS_GRADE_TBL b , PS_GRADESCHEME_TBL c WHERE c.SETID = a.SETID AND c.GRADING_SCHEME = a.GRADING_SCHEME AND c.EFFDT = a.EFFDT AND c.EFF_STATUS <> 'I' AND b.SETID = a.SETID AND b.GRADING_SCHEME = a.GRADING_SCHEME AND b.EFFDT = ( SELECT MIN(b2.EFFDT) FROM PS_GRADE_TBL b2 WHERE b2.SETID = a.SETID AND b2.GRADING_SCHEME = a.GRADING_SCHEME AND b2.GRADING_BASIS = a.GRADING_BASIS AND b2.EFFDT > a.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_CS.SETID_CAREER Prompt Table: SETID_TBL |
2 | GRADE_SCHEME_STDNT | Character(3) | VARCHAR2(3) NOT NULL |
Student Grading Scheme
Prompt Table: GRADESCHEME_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
4 | GRADING_BASIS_LIST | Character(3) | VARCHAR2(3) NOT NULL | Grading Basis |
5 | CRSE_GRADE_INPUT | Character(3) | VARCHAR2(3) NOT NULL |
Grade Input
A=A |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL |
Short Description
Default Value: GRADE_TBL.DESCR |
8 | GRADE_CONVERT | Character(3) | VARCHAR2(3) NOT NULL |
Convert To Grade
Prompt Table: GRADE_TBL |
9 | GRADE_POINTS | Number(10,3) | DECIMAL(9,3) NOT NULL | Grade Points |
10 | EARN_CREDIT | Character(1) | VARCHAR2(1) NOT NULL |
Earn Credit
Y/N Table Edit Default Value: Y |
11 | INCLUDE_IN_GPA | Character(1) | VARCHAR2(1) NOT NULL |
Include in GPA
Y/N Table Edit Default Value: Y |
12 | IN_PROGRESS_GRD | Character(1) | VARCHAR2(1) NOT NULL |
In Progress Grade
Y/N Table Edit |
13 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |