SSF_BU_ANTC_AID

(SQL View)
Index Back

SELECT A.EMPLID ,C.INSTITUTION_SET ,B.BUSINESS_UNIT ,A.STRM ,SUM(A.NET_AWARD_AMT) ,D.DESCR ,D.DESCRSHORT ,A.DISB_EXPIRE_DT FROM PS_ANTICIPATED_AID A , PS_STDNT_AWRD_DISB B , PS_ISET_BU_DTL C , PS_ITEM_TYPE_TBL D , PS_BUS_UNIT_TBL_SF E WHERE A.NET_AWARD_AMT > 0 AND (A.DISB_EXPIRE_DT > %CurrentDateIn OR A.DISB_EXPIRE_DT IS NULL) AND A.EMPLID = B.EMPLID AND A.INSTITUTION = B.INSTITUTION AND A.AID_YEAR = B.AID_YEAR AND A.ITEM_TYPE = B.ITEM_TYPE AND A.ACAD_CAREER = B.ACAD_CAREER AND A.DISBURSEMENT_ID = B.DISBURSEMENT_ID AND A.AS_OF_DTTM=( SELECT MAX(AS_OF_DTTM) FROM PS_ANTICIPATED_AID A1 WHERE A.EMPLID = A1.EMPLID AND A.INSTITUTION = A1.INSTITUTION AND A.AID_YEAR = A1.AID_YEAR AND A.ITEM_TYPE = A1.ITEM_TYPE AND A.ACAD_CAREER=A1.ACAD_CAREER AND A.DISBURSEMENT_ID=A1.DISBURSEMENT_ID) AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.BUSINESS_UNIT = E.BUSINESS_UNIT AND A.ITEM_TYPE = D.ITEM_TYPE AND D.SETID = ( SELECT D1.SETID FROM PS_SET_CNTRL_REC D1 WHERE D1.SETCNTRLVALUE = E.INSTITUTION AND D1.RECNAME = 'ITEM_TYPE_TBL') AND D.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_ITEM_TYPE_TBL F WHERE F.SETID = D.SETID AND F.ITEM_TYPE = D.ITEM_TYPE AND F.EFFDT <= %CurrentDateIn) GROUP BY A.EMPLID, C.INSTITUTION_SET ,B.BUSINESS_UNIT, A.STRM, D.DESCR,D.DESCRSHORT ,A.DISB_EXPIRE_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 INSTITUTION_SET Character(5) VARCHAR2(5) NOT NULL Institution Set
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
6 SSF_DESCR100 Character(100) VARCHAR2(100) NOT NULL Length 100 Description
7 SSF_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
8 DISB_EXPIRE_DT Date(10) DATE Disbursement Expire Date