GRADE_TBL_VW

(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 , A.DESCR , A.DESCRSHORT , A.GRADE_CONVERT , A.GRADE_POINTS , A.EARN_CREDIT , A.INCLUDE_IN_GPA , A.IN_PROGRESS_GRD , B.EFF_STATUS , A.VALID_ATTEMPT , A.GRADE_CATEGORY , A.EXCLUDE_PRGRSS_UNT 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' , A.VALID_ATTEMPT , A.GRADE_CATEGORY ,A.EXCLUDE_PRGRSS_UNT 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: GRADE_TBL_VW_LN
  • Parent record: GRADE_BASIS_TBL
  • # 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 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
    14 VALID_ATTEMPT Character(1) VARCHAR2(1) NOT NULL Valid Attempted Grade
    15 GRADE_CATEGORY Character(4) VARCHAR2(4) NOT NULL The default value of NONE is delivered with the system and should not be deleted.
    TXFR=Transfer Pass (Sample)
    16 EXCLUDE_PRGRSS_UNT Character(1) VARCHAR2(1) NOT NULL Exclude Progress Units