CC_STU_PLN_SCTY

(SQL View)
Index Back

Stdnt Srch Plan Security View

This view is used to impose plan-level security on the student specific components in the Build Community menu. This view was cloned from STUDENT_SRCH. This view was cloned from STUDENT_SRCH and selects students from both the admission and program stack.

SELECT A.OPRCLASS , A.EMPLID , B.ACAD_CAREER , G.OPRID , A.NID_COUNTRY , A.NATIONAL_ID_TYPE , A.NID_DESCRSHORT , A.NATIONAL_ID , A.NATIONAL_ID_MSK , A.BIRTHDATE , A.BIRTHDATE_MSK , A.SEX , A.NAME , A.CAMPUS_ID , A.LAST_NAME_SRCH , A.FIRST_NAME_SRCH , G.ACCESS_CD FROM PS_PEOPLE_SRCH A ,PS_STDNT_CAREER B ,PS_ADM_PROG_STK_VW E ,PS_ADM_PROG_PLN_VW F ,PS_SCRTY_TBL_PLAN G WHERE A.EMPLID = B.EMPLID AND A.EMPLID = E.EMPLID AND A.EMPLID = F.EMPLID AND B.ACAD_CAREER = E.ACAD_CAREER AND B.ACAD_CAREER = F.ACAD_CAREER AND E.STDNT_CAR_NBR = F.STDNT_CAR_NBR AND E.EFFDT = F.EFFDT AND E.EFFSEQ = F.EFFSEQ AND E.INSTITUTION = G.INSTITUTION AND (G.ACAD_PLAN = F.ACAD_PLAN OR G.ACAD_PLAN = 'ALL') AND G.ACCESS_CD = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PLAN G1 WHERE G1.ACCESS_CD = 'N' AND G1.OPRID = G.OPRID AND G1.INSTITUTION = G.INSTITUTION AND G1.ACAD_PLAN = F.ACAD_PLAN)

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

3 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

4 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
5 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
6 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: HCR_NID_TYP_I
Set Control Field: NID_COUNTRY

7 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
8 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
9 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
10 BIRTHDATE Date(10) DATE Date of Birth
11 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
12 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
13 NAME Character(50) VARCHAR2(50) NOT NULL Name
14 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
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