STDNT_RTIV_VW2(SQL View) |
Index Back |
---|---|
Student Charge ViewStudent Charge View - All Students who have Charges for specified item types from the Return TIV Funds Setup PanelGroup. |
SELECT DISTINCT Z.COMMON_ID , Z.common_id , X.institution , X.aid_year , Z.account_term , Z.item_nbr , Z.item_type , Z.business_unit , X.rtrn_tiv_chrg_type , Z.acad_career , Z.item_amt FROM PS_ITEM_SF Z ,PSTREEDEFN A ,PSTREENODE B ,PSTREELEAF C ,PS_ITEM_GROUP_TBL D ,PS_ITEM_GROUP_DTL E ,PS_BUS_UNIT_TBL_SF F ,PS_RTRN_TIV_SETUP2 X ,PS_AID_YR_CAR_TERM Y WHERE Z.BUSINESS_UNIT = F.BUSINESS_UNIT AND Z.SA_ID_TYPE = 'P' AND A.SETID=B.SETID AND A.SETID=C.SETID AND A.SETID = D.TREE_NAME_SETID AND D.ITEM_TYPE_GROUP = E.ITEM_TYPE_GROUP AND D.SETID=E.SETID AND D.SETID = ( SELECT D1.SETID FROM PS_SET_CNTRL_REC D1 WHERE D1.SETCNTRLVALUE = F.INSTITUTION AND D1.RECNAME = 'ITEM_GROUP_TBL') AND D.EFFDT=E.EFFDT AND D.EFF_STATUS='A' AND D.EFFDT= ( SELECT MAX(D2.EFFDT) FROM PS_ITEM_GROUP_TBL D2 WHERE D.SETID=D2.SETID AND D.ITEM_TYPE_GROUP = D2.ITEM_TYPE_GROUP AND D2.EFFDT <= %CurrentDateIn ) AND B.TREE_NODE = E.TREE_NODE AND A.VALID_TREE='Y' AND A.TREE_NAME = B.TREE_NAME AND A.TREE_NAME=C.TREE_NAME AND A.EFFDT=B.EFFDT AND A.EFFDT=C.EFFDT AND A.EFFDT= ( SELECT MAX(A1.EFFDT) FROM PSTREEDEFN A1 WHERE A1.SETID = A.SETID AND A1.SETCNTRLVALUE = A.SETCNTRLVALUE AND A1.TREE_NAME = A.TREE_NAME AND A1.EFFDT <= %CurrentDateIn ) AND C.TREE_NODE_NUM = B.TREE_NODE_NUM AND Z.ITEM_TYPE >= C.RANGE_FROM AND Z.ITEM_TYPE <= C.RANGE_TO AND X.INSTITUTION = F.INSTITUTION AND X.ITEM_TYPE_GROUP = D.ITEM_TYPE_GROUP AND Y.AID_YEAR = X.AID_YEAR AND Y.INSTITUTION = X.INSTITUTION AND Y.STRM = Z.account_term ORDER BY Z.ITEM_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMMON_ID | Character(11) | VARCHAR2(11) NOT NULL | Common ID to store Personal ID / Ext Org ID value |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
3 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTION_TBL |
4 | AID_YEAR | Character(4) | VARCHAR2(4) NOT NULL |
Aid Year
Default Value: OPR_DEF_TBL_CS.AID_YEAR Prompt Table: AID_YEAR_TBL |
5 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
6 | ITEM_NBR | Character(15) | VARCHAR2(15) NOT NULL | Item Nbr |
7 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
8 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
9 | RTRN_TIV_CHRG_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Charge Category Type
1=Tuition 2=Room and Board 3=Other |
10 | 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 |
11 | ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |