STDNT_BDMT_SRCH(SQL View) |
Index Back |
---|---|
Student Aid/People Data ViewSTDNT_AID_SRCH is the main financial aid application search record. It provides the user with a list box of only students that are on the Student Aid table for the year selected. The list box will also provide identifying information from the Personal_Data table. |
SELECT B.OPRCLASS , A.EMPLID , A.INSTITUTION , A.AID_YEAR , B.NID_COUNTRY , B.NATIONAL_ID_TYPE , B.NID_DESCRSHORT , B.NATIONAL_ID , B.NATIONAL_ID_MSK , B.BIRTHDATE , B.BIRTHDATE_MSK , B.NAME , B.CAMPUS_ID , B.SEX , B.LAST_NAME_SRCH , B.FIRST_NAME_SRCH FROM PS_STUDENT_AID A , PS_PEOPLE_SRCH B WHERE A.EMPLID = B.EMPLID AND A.EMPLID IN ( SELECT DISTINCT X.EMPLID FROM PS_STDNT_FA_TERM X WHERE X.EMPLID = A.EMPLID AND X.INSTITUTION = A.INSTITUTION AND X.STRM=( SELECT MAX(X1.STRM) FROM PS_STDNT_FA_TERM X1 WHERE X1.EMPLID=A.EMPLID AND X1.INSTITUTION=A.INSTITUTION AND X1.AID_YEAR=A.AID_YEAR) AND X.EFFDT = ( SELECT MAX(X2.EFFDT) FROM PS_STDNT_FA_TERM X2 WHERE X2.EMPLID = X.EMPLID AND X2.INSTITUTION = X.INSTITUTION AND X2.STRM = X.STRM AND X2.EFFDT <= %CurrentDateIn) AND X.EFFSEQ = ( SELECT MAX(X3.EFFSEQ) FROM PS_STDNT_FA_TERM X3 WHERE X3.EMPLID = X.EMPLID AND X3.INSTITUTION = X.INSTITUTION AND X3.STRM = X.STRM AND X3.EFFDT = X.EFFDT) AND X.AID_YEAR = A.AID_YEAR) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
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 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
6 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table: HCR_NID_TYP_I |
7 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
8 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
9 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
10 | BIRTHDATE | Date(10) | DATE | Date of Birth |
11 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
12 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
13 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
14 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
15 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
16 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |