STUDS2_PRG_SCTY

(SQL View)
Index Back

Student DISB 2 Program Scty Vw

This view is used to impose program-level security on STDNT_DISB, a Financial Aid component. (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_DISB_SCH2. 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. Cloned from STDNT_DISB. 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 , 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_STDNT_DISB_TBL Y , PS_STUDENT_AID A , PS_PEOPLE_SRCH B , PS_ADM_PROG_STK_VW E , PS_SCRTY_TBL_PROG 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 = E.INSTITUTION AND A.INSTITUTION = F.INSTITUTION AND E.ACAD_CAREER = F.ACAD_CAREER AND (F.ACAD_PROG = E.ACAD_PROG OR F.ACAD_PROG = 'ALL') AND F.ACCESS_CD = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PROG F1 WHERE F1.ACCESS_CD = 'N' AND F1.OPRID = F.OPRID AND F1.INSTITUTION = A.INSTITUTION AND F1.ACAD_PROG = E.ACAD_PROG)

# 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 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
8 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: HCR_NID_TYP_I

9 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
10 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
11 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
12 BIRTHDATE Date(10) DATE Date of Birth
13 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
14 NAME Character(50) VARCHAR2(50) NOT NULL Name
15 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
16 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
17 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
18 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
19 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=No Access
Y=Read/Write Access