SFA_ASG_STUGRPS

(SQL View)
Index Back

STDNT_GRPS_HIST View - FA ASG

SFA_ASG_STUGRPS is a view of STDNT_GRPS_HIST table that selects the max effdt and active row. This view is used in Financial Aid Equations to determine ASG eligibility.

SELECT A.EMPLID , A.INSTITUTION , A.STDNT_GROUP FROM PS_STDNT_GRPS_HIST A WHERE A.EFFDT=( SELECT MAX(EFFDT) FROM PS_STDNT_GRPS_HIST A1 WHERE A1.EMPLID=A.EMPLID AND A1.INSTITUTION=A.INSTITUTION AND A1.STDNT_GROUP=A.STDNT_GROUP AND A1.EFFDT<=%CurrentDateIn) 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
2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
3 STDNT_GROUP Character(4) VARCHAR2(4) NOT NULL Student Group