ADM_MAINT_SCTY2

(SQL View)
Index Back

Application Maintenance Scty

ADM_MAINT_SCTY2 is a copy of ADM_MAINT_SCTY which has only Emplid as a key. This is a security view used in Admissions to allow users to access only those applications in application centers they are cleared to see.

SELECT b.oprclass ,a.emplid ,a.institution ,a.acad_career ,b.name ,b.sex ,b.birthdate ,b.birthdate_msk ,b.campus_id ,b.national_id ,b.national_id_msk ,b.nid_country ,b.national_id_type ,b.nid_descrshort ,b.last_name_srch ,b.first_name_srch ,c.access_cd FROM ps_adm_appl_data a , PS_PEOPLE_SRCH b , ps_scrty_appl_ctr c , ps_adm_appl_prog d WHERE c.access_cd = 'Y' AND a.emplid = b.emplid AND a.adm_appl_nbr = d.adm_appl_nbr AND c.institution = a.institution AND (c.adm_appl_ctr = a.adm_appl_ctr OR c.adm_appl_ctr = 'ALL') AND a.emplid = d.emplid AND d.effdt=( SELECT MAX (d1.effdt) FROM ps_adm_appl_prog d1 WHERE d.emplid=d1.emplid AND d.acad_career= d1.acad_career AND d.stdnt_car_nbr= d1.stdnt_car_nbr AND d.adm_appl_nbr= d1.adm_appl_nbr AND d.appl_prog_nbr= d1.appl_prog_nbr) AND d.effseq=( SELECT MAX (d2.effseq) FROM ps_adm_appl_prog d2 WHERE d.emplid=d2.emplid AND d.acad_career= d2.acad_career AND d.stdnt_car_nbr= d2.stdnt_car_nbr AND d.adm_appl_nbr= d2.adm_appl_nbr AND d.appl_prog_nbr= d2.appl_prog_nbr AND d.effdt=d2.effdt)

# 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: INSTITUTN_SCRTY

4 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

Default Value: OPR_DEF_TBL_CS.ACAD_CAREER

Prompt Table: ACAD_CAR_SCRTY

5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
7 BIRTHDATE Date(10) DATE Date of Birth
8 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
9 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
10 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
11 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
12 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
13 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: HCR_NID_TYP_I
Set Control Field: NID_COUNTRY

14 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
15 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
16 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
17 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=No Access
Y=Read/Write Access