SFA_COA_AY_VW(SQL View) |
Index Back |
---|---|
Budget Item Aid Year ViewIt is used to select budget items based on aid year option. |
SELECT A.EMPLID , A.INSTITUTION , A.AID_YEAR , A.ACAD_CAREER , C.BGT_ITEM_CATEGORY , D.DESCR , SUM(C.BUDGET_ITEM_AMOUNT) , D.BUDGET_ITEM_TYPE FROM PS_STDNT_CR_TERM A , PS_STDNT_TERM_BDGT B , PS_STDNT_BUDGET_IT C , PS_BUDGET_CATG_TBL D WHERE ( A.EMPLID = B.EMPLID AND A.INSTITUTION = B.INSTITUTION AND A.AID_YEAR = B.AID_YEAR AND A.ACAD_CAREER = B.ACAD_CAREER AND A.STRM = B.STRM AND B.EFFDT =( SELECT MAX(B_ED.EFFDT) FROM PS_STDNT_TERM_BDGT B_ED WHERE B.EMPLID = B_ED.EMPLID AND B.INSTITUTION = B_ED.INSTITUTION AND B.AID_YEAR = B_ED.AID_YEAR AND B.ACAD_CAREER = B_ED.ACAD_CAREER AND B.STRM = B_ED.STRM AND B_ED.EFFDT <= %CurrentDateIn) AND B.EFFSEQ = ( SELECT MAX(B_ES.EFFSEQ) FROM PS_STDNT_TERM_BDGT B_ES WHERE B.EMPLID = B_ES.EMPLID AND B.INSTITUTION = B_ES.INSTITUTION AND B.AID_YEAR = B_ES.AID_YEAR AND B.ACAD_CAREER = B_ES.ACAD_CAREER AND B.STRM = B_ES.STRM AND B.EFFDT = B_ES.EFFDT) AND B.EMPLID = C.EMPLID AND B.INSTITUTION = C.INSTITUTION AND B.AID_YEAR = C.AID_YEAR AND B.ACAD_CAREER = C.ACAD_CAREER AND B.STRM = C.STRM AND B.EFFSEQ = C.EFFSEQ AND C.EFFDT = B.EFFDT AND C.INSTITUTION = D.INSTITUTION AND C.AID_YEAR = D.AID_YEAR AND C.BGT_ITEM_CATEGORY = D.BGT_ITEM_CATEGORY ) GROUP BY A.EMPLID , A.INSTITUTION , A.AID_YEAR , A.ACAD_CAREER , C.BGT_ITEM_CATEGORY , D.DESCR , C.BUDGET_ITEM_AMOUNT, D.BUDGET_ITEM_TYPE |
# | 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
Prompt Table: INSTITUTION_TBL |
3 | AID_YEAR | Character(4) | VARCHAR2(4) NOT NULL | Aid Year |
4 | ACAD_CAREER | Character(4) | VARCHAR2(4) NOT NULL |
Academic Career
BAC=Bachelor (NLD) BBL=Vocational Coaching (NLD) BOL=Vocational Training (NLD) BUSN=Graduate Business CNED=Continuing Education CRED=Semester Credit EDU=Education (NLD) EXED=Extended Education GRAD=Graduate LAW=Law MEDS=Medical School NONA=Non Award PGRD=Postgraduate RSCH=Research TECH=Technical UENG=Undergraduate Engineering UGRD=Undergraduate VAVO=Advanced General Educ. (NLD) VETM=Veterinary Medicine |
5 | BGT_ITEM_CATEGORY | Character(4) | VARCHAR2(4) NOT NULL | Budget Item Category |
6 | DESCR_CATEGORY | Character(30) | VARCHAR2(30) NOT NULL | Category Description |
7 | BUDGET_ITEM_AMOUNT | Number(8,2) | DECIMAL(7,2) NOT NULL | Budget Item Amount |
8 | BUDGET_ITEM_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Item Classification
F=Federal I=Institutional |