ADM_MAINT_SCTY

(SQL View)
Index Back

Application Maintenance Scty

ADM_MAINT_SCTY 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.adm_appl_nbr ,a.emplid ,a.institution ,a.acad_career ,a.stdnt_car_nbr ,d.appl_prog_nbr ,c.oprid ,d.acad_prog ,d.admit_term ,a.adm_appl_ctr ,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 D.ACAD_CAREER = A.ACAD_CAREER AND D.STDNT_CAR_NBR = A.STDNT_CAR_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 ADM_APPL_NBR Character(8) VARCHAR2(8) NOT NULL Application Nbr

Prompt Table: ADM_APPL_DATA

3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

4 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: OPR_DEF_TBL_CS.INSTITUTION

Prompt Table: INSTITUTN_SCRTY

5 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

6 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
7 APPL_PROG_NBR Number(3,0) SMALLINT NOT NULL Application Program Nbr

Prompt Table: ADM_APP_CAR_SEQ

8 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
9 ACAD_PROG_SRCH Character(5) VARCHAR2(5) NOT NULL Academic Program

Prompt Table: ACAD_PROG_TBL

10 ADMIT_TERM Character(4) VARCHAR2(4) NOT NULL Admit Term

Prompt Table: TERM_TBL

11 ADM_APPL_CTR Character(4) VARCHAR2(4) NOT NULL Application Center

Prompt Table: ADM_APPCTR_SCTY

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

Prompt Table: HCR_NID_TYP_I
Set Control Field: NID_COUNTRY

21 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
22 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
23 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
24 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=No Access
Y=Read/Write Access