STUAN2_PLN_SCTY(SQL View) |
Index Back |
---|---|
Stu Antic 2 Plan Scty VwThis view is used to impose plan-level security on ANTICIPTD_AID_EDIT & ANTICIPTD_AID_SUMM, Financial Aid components. (See Security View setup under Secure Student Administration.) This view selects students from both the admission and program stack. It is a clone of STDNT_ANT_SRCH2. 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 DISTINCT B.OPRCLASS , A.EMPLID , A.INSTITUTION , A.AID_YEAR , Y.STRM , F.OPRID , Y.ITEM_TYPE , 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 , F.ACCESS_CD FROM PS_ANTICIPATED_AID Y , PS_STUDENT_AID A , PS_PEOPLE_SRCH B , PS_ADM_PROG_PLN_VW E , PS_SCRTY_TBL_PLAN F WHERE A.EMPLID = Y.EMPLID AND A.INSTITUTION = Y.INSTITUTION AND A.AID_YEAR = Y.AID_YEAR AND A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.INSTITUTION = F.INSTITUTION AND Y.ACAD_CAREER = E.ACAD_CAREER AND (F.ACAD_PLAN = E.ACAD_PLAN OR F.ACAD_PLAN = 'ALL') AND F.ACCESS_CD = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PLAN F1 WHERE F1.ACCESS_CD = 'N' AND F1.OPRID = F.OPRID AND F1.INSTITUTION = A.INSTITUTION AND F1.ACAD_PLAN = E.ACAD_PLAN) AND Y.AS_OF_DTTM = ( SELECT MAX(X.AS_OF_DTTM) FROM PS_ANTICIPATED_AID X WHERE Y.EMPLID = X.EMPLID AND Y.INSTITUTION = X.INSTITUTION AND Y.AID_YEAR = X.AID_YEAR AND Y.STRM = X.STRM AND Y.ITEM_TYPE = X.ITEM_TYPE AND Y.acad_career = X.acad_career AND Y.disbursement_plan = X.disbursement_plan AND Y.disbursement_id = X.disbursement_id) |
# | 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 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Prompt Table: TERM_VAL_TBL |
6 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
7 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
8 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
9 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table: HCR_NID_TYP_I |
10 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
11 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
12 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
13 | BIRTHDATE | Date(10) | DATE | Date of Birth |
14 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
15 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
16 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
17 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
18 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
19 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
20 | ACCESS_CD | Character(1) | VARCHAR2(1) NOT NULL |
Access Code
N=No Access Y=Read/Write Access |