SFA_ASG_TMGPAVW(SQL View) |
Index Back |
---|---|
ACG/SMART Term GPA viewView to hold GPA info from STDNT_FA_TERM to use in ACG/SMART Equations. |
SELECT A.EMPLID , A.INSTITUTION , A.AID_YEAR , A.STRM , A.CUM_GPA ,A.CUM_GPA_CL FROM PS_STDNT_FA_TERM A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_STDNT_FA_TERM B WHERE B.EMPLID = A.EMPLID AND B.INSTITUTION = A.INSTITUTION AND B.AID_YEAR = A.AID_YEAR AND B.STRM = A.STRM AND B.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(B1.EFFSEQ) FROM PS_STDNT_FA_TERM B1 WHERE B1.EMPLID = A.EMPLID AND B1.INSTITUTION = A.INSTITUTION AND B1.AID_YEAR = A.AID_YEAR AND B1.STRM = A.STRM AND B1.EFFDT = A.EFFDT) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
2 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
3 | AID_YEAR | Character(4) | VARCHAR2(4) NOT NULL |
Aid Year
Prompt Table: STUDENT_AID |
4 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Prompt Table: TERM_VAL_TBL |
5 | CUM_GPA | Number(9,3) | DECIMAL(8,3) NOT NULL | Cumulative GPA |
6 | CUM_GPA_CL | Number(9,3) | DECIMAL(8,3) NOT NULL | Cumulative GPA Calculated |