GRADE_TBL_LAMVW

(SQL View)
Index Back

Grade Table View

This 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 , B.EFF_STATUS , A.DESCR , A.DESCRSHORT 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 , 'I' , A.DESCR , A.DESCRSHORT 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)

  • Related Language Record: GRD_TBL_LAM_LVW
  • # 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 Effective Date

    Default Value: %date

    4 GRADING_BASIS_ENRL Character(3) VARCHAR2(3) NOT NULL Grading Basis

    Prompt Table: GRADE_BASIS_TBL

    5 CRSE_GRADE_INPUT Character(3) VARCHAR2(3) NOT NULL Grade Input
    A=A
    6 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    8 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description

    Default Value: GRADE_TBL.DESCR