ENRLREQ_PLN_SEC(SQL View) |
Index Back |
---|---|
Pln Enrollment Request SecThis view is used to search for existing an Enrollment Request for display/update. This is the plan-level security version of ENRL_REQ_SRCH. |
SELECT C.OPRCLASS , A.ENRL_REQUEST_ID , S.OPRID , A.EMPLID , A.ACAD_CAREER , A.INSTITUTION , A.STRM , C.NAME , C.SEX , C.BIRTHDATE , C.BIRTHDATE_MSK , C.CAMPUS_ID , C.NATIONAL_ID , C.NATIONAL_ID_MSK , C.NID_COUNTRY , C.NATIONAL_ID_TYPE , C.NID_DESCRSHORT , C.LAST_NAME_SRCH , C.FIRST_NAME_SRCH , B.ENRL_REQ_SOURCE FROM PS_ENRL_REQ_DETAIL A , PS_ENRL_REQ_HEADER B , PS_ACAD_PROG PR , PS_ACAD_PLAN PL , PS_SCRTY_TBL_PLAN S , PS_PEOPLE_SRCH C WHERE A.ENRL_REQUEST_ID = B.ENRL_REQUEST_ID AND B.ENRL_REQ_SOURCE IN ('E', 'SE', 'QE') AND A.EMPLID = PR.EMPLID AND A.ACAD_CAREER = PR.ACAD_CAREER AND A.INSTITUTION = PR.INSTITUTION AND PR.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_ACAD_PROG F WHERE F.INSTITUTION = PR.INSTITUTION AND F.EMPLID = PR.EMPLID AND F.ACAD_CAREER = PR.ACAD_CAREER AND F.STDNT_CAR_NBR = PR.STDNT_CAR_NBR AND F.EFFDT <= %CurrentDateIn) AND PR.EFFSEQ = ( SELECT MAX(H.EFFSEQ) FROM PS_ACAD_PROG H WHERE H.INSTITUTION = PR.INSTITUTION AND H.EMPLID = PR.EMPLID AND H.ACAD_CAREER = PR.ACAD_CAREER AND H.STDNT_CAR_NBR = PR.STDNT_CAR_NBR AND H.EFFDT = PR.EFFDT) AND PR.EMPLID = PL.EMPLID AND PR.ACAD_CAREER = PL.ACAD_CAREER AND PR.STDNT_CAR_NBR = PL.STDNT_CAR_NBR AND PR.EFFDT = PL.EFFDT AND PR.EFFSEQ = PL.EFFSEQ AND PR.INSTITUTION = S.INSTITUTION AND (S.ACAD_PLAN = PL.ACAD_PLAN OR S.ACAD_PLAN = 'ALL') AND S.ACCESS_CD = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PLAN C4 WHERE C4.ACCESS_CD = 'N' AND C4.OPRID = S.OPRID AND C4.INSTITUTION = PR.INSTITUTION AND C4.ACAD_PLAN = PL.ACAD_PLAN) AND A.EMPLID = C.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | ENRL_REQUEST_ID | Character(10) | VARCHAR2(10) NOT NULL |
Enrollment Request ID
Prompt Table: ENRL_REQ_HEADER |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
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 |
6 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTION_TBL |
7 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Default Value: OPR_DEF_TBL_CS.STRM Prompt Table: TERM_TBL |
8 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
9 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
10 | BIRTHDATE | Date(10) | DATE | Date of Birth |
11 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
12 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
13 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
14 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
15 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
16 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table:
HCR_NID_TYP_I
|
17 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
18 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
19 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
20 | ENRL_REQ_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Enrollment Request Source
CR=Class Roll E=Enrollment Request EN=Enrollment FE=Fluid Cls Srch Enrl non-SFF FF=Fluid Cls Srch Enrl SFF FS=Fluid Self Service SFF FX=Fluid Self Service non-SFF IL=Grade Lapse ME=Mass Enrollment PB=Post Enrl Req Chk Batch PD=Req Chk Drop Online PO=Post Enrl Req Chk Online PX=Req Chk Drop Batch QE=Quick Enroll SE=Self-Service Enrollment SF=Student Financials Batch SG=Self Service Grade Posting TA=Test Administration (NLD) WD=Term Withdrawal Engine WL=Wait List Engine |