SFA_STD_TERM(SQL View) |
Index Back |
---|---|
SS Student Award termsView to display terms available for a student. |
SELECT A.EMPLID ,A.INSTITUTION ,A.AID_YEAR ,C.AWARD_PERIOD ,A.ITEM_TYPE ,A.ACAD_CAREER ,A.STRM ,A.CURRENCY_CD ,SUM(A.OFFER_BALANCE) ,SUM(A.ACCEPT_BALANCE) ,SUM(A.DISBURSED_BALANCE) ,SUM(A.NET_DISB_BALANCE) ,SUM(A.OFFER_BAL_LN_FEE) ,SUM(A.ACCEPT_BAL_LN_FEE) ,SUM(A.OFFER_BAL_REBATE) ,SUM(A.ACCEPT_BAL_REBATE) FROM PS_STDNT_AWRD_DISB A , PS_DISB_ID_TBL B , PS_AID_YR_CAR_TERM C , PS_STDNT_AWARDS D WHERE B.INSTITUTION = A.INSTITUTION AND B.AID_YEAR = A.AID_YEAR AND B.ACAD_CAREER = A.ACAD_CAREER AND B.DISBURSEMENT_ID = A.DISBURSEMENT_ID AND B.DISBURSEMENT_PLAN = D.DISBURSEMENT_PLAN AND D.EMPLID = A.EMPLID AND D.INSTITUTION = A.INSTITUTION AND D.AID_YEAR = A.AID_YEAR AND D.ITEM_TYPE = A.ITEM_TYPE AND D.ACAD_CAREER = A.ACAD_CAREER AND C.INSTITUTION = B.INSTITUTION AND C.AID_YEAR = B.AID_YEAR AND C.ACAD_CAREER = B.ACAD_CAREER AND C.STRM = B.STRM AND A.EMPLID IN ( SELECT E.EMPLID FROM PS_SFA_STD_AWDSRCH E WHERE E.INSTITUTION = A.INSTITUTION AND E.AID_YEAR = A.AID_YEAR AND E.ACAD_CAREER = A.ACAD_CAREER AND E.ITEM_TYPE = A.ITEM_TYPE ) GROUP BY A.EMPLID, A.INSTITUTION, A.AID_YEAR, C.AWARD_PERIOD , A.ITEM_TYPE , A.ACAD_CAREER, A.STRM, A.CURRENCY_CD HAVING SUM(A.OFFER_BALANCE)>0 |
# | 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: SFA_STD_INST |
3 | AID_YEAR | Character(4) | VARCHAR2(4) NOT NULL |
Aid Year
Prompt Table: SFA_STD_AY |
4 | SFA_AWARD_PER | Character(1) | VARCHAR2(1) NOT NULL |
Award Period
A=Academic N=Non Standard Y=Aid Year |
5 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL |
Item Type
Prompt Table: STDNT_FA_TERM |
6 | 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 |
7 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Prompt Table: AID_YR_CAR_TERM |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
9 | OFFER_BALANCE | Number(12,2) | DECIMAL(11,2) NOT NULL | Offer Balance |
10 | ACCEPT_BALANCE | Number(12,2) | DECIMAL(11,2) NOT NULL | Accept Balance |
11 | DISBURSED_BALANCE | Signed Number(13,2) | DECIMAL(11,2) NOT NULL | Disbursed Balance |
12 | NET_DISB_BALANCE | Number(12,2) | DECIMAL(11,2) NOT NULL | Net Disb Balance |
13 | OFFER_BAL_LN_FEE | Number(7,2) | DECIMAL(6,2) NOT NULL | Offer Balance Loan Fee |
14 | ACCEPT_BAL_LN_FEE | Number(7,2) | DECIMAL(6,2) NOT NULL | Accept Balance Loan Fee |
15 | OFFER_BAL_REBATE | Number(7,2) | DECIMAL(6,2) NOT NULL | Offer Balance Rebate |
16 | ACCEPT_BAL_REBATE | Number(7,2) | DECIMAL(6,2) NOT NULL | Accept Balance Rebate |