SSR_GRDLM_VW_LN(SQL View) |
Index Back |
---|---|
Grade Table View - Rel LangThis related language view contains valid values of Grades for each the Grading Basis from the Grade_Tbl. Grading_Basis has been rename to Grading_Basis_Enrl 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.LANGUAGE_CD , A.DESCR , A.DESCRSHORT FROM PS_GRADE_TBL_LANG 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.LANGUAGE_CD , A.DESCR , A.DESCRSHORT FROM PS_GRADE_TBL_LANG a , PS_GRADE_TBL_LANG 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 A.SETID = B.SETID AND A.GRADING_SCHEME = B.GRADING_SCHEME AND A.LANGUAGE_CD = B.LANGUAGE_CD AND b.EFFDT = ( SELECT MIN(b2.EFFDT) FROM PS_GRADE_TBL_LANG b2 WHERE b2.SETID = a.setid AND b2.GRADING_SCHEME = A.GRADING_SCHEME AND b2.GRADING_BASIS = A.GRADING_BASIS AND b2.LANGUAGE_CD = A.LANGUAGE_CD 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 | GRADING_SCHEME | Character(3) | VARCHAR2(3) NOT NULL |
Grading Scheme
Prompt Table: GRADESCHEME_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
4 | GRADING_BASIS_ENRL | Character(3) | VARCHAR2(3) NOT NULL | Grading Basis |
5 | CRSE_GRADE_INPUT | Character(3) | VARCHAR2(3) NOT NULL |
Grade Input
A=A |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL |
Short Description
Default Value: GRADE_TBL.DESCR |