ADM_APPL_R_SCTY

(SQL View)
Index Back

Admission Application Security

ADM_APPL_R_SCTY is a view used in Admissions to retrieve records by admission number. It is used as the Add mode search record for the Admission Data Entry panels, thus enabling either a new person or new application or both to be added to the database. This is a clone of ADM_APPL_SCTY, with RELATIONSHIP_NBR added due to CC changes for the RELATIONSHIP component.

SELECT b.oprclass ,a.adm_appl_nbr ,a.emplid ,a.institution ,a.acad_career ,c.oprid ,f.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 ,f.relationship_nbr FROM ps_adm_appl_data a , PS_PEOPLE_SRCH b , ps_scrty_appl_ctr c , ps_relationships f WHERE c.access_cd = 'Y' AND a.emplid = b.emplid AND c.institution = a.institution AND (c.adm_appl_ctr = a.adm_appl_ctr OR c.adm_appl_ctr = 'ALL') AND A.EMPLID = F.EMPLID AND F.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_RELATIONSHIPS X WHERE X.EMPLID = F.EMPLID AND X.RELATIONSHIP_NBR = F.RELATIONSHIP_NBR AND X.EFFDT <= %CurrentDateIn)

# 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

Default Value: 0

Prompt Table: ADM_APPL_DATA

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

Default Value: NEW

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 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
7 NAME Character(50) VARCHAR2(50) NOT NULL Name
8 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
9 BIRTHDATE Date(10) DATE Date of Birth
10 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
11 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
12 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
13 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
14 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
15 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: NID_TYPE_TBL
Set Control Field: NID_COUNTRY

16 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
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
20 RELATIONSHIP_NBR Number(2,0) SMALLINT NOT NULL Relationship Nbr