STDNT_REL_SRCH(SQL View) |
Index Back |
---|---|
Student Search ViewView used when searching for/selecting a student for display/update of Relationships |
SELECT A.OPRCLASS ,A.EMPLID ,B.RELATIONSHIP_NBR ,A.NAME ,A.NATIONAL_ID ,A.NATIONAL_ID_MSK ,A.NATIONAL_ID_TYPE ,A.NID_DESCRSHORT ,A.CAMPUS_ID ,A.LAST_NAME_SRCH ,A.FIRST_NAME_SRCH ,B.EMPLID_RELATED ,B.PEOPLE_RELATION ,C.ACAD_CAREER ,B.NAME ,B.JOINT_RECORD FROM PS_PEOPLE_SRCH A , PS_RELATIONSHIPS B , PS_STDNT_CAREER C WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND B.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_RELATIONSHIPS X WHERE X.EMPLID = B.EMPLID AND X.RELATIONSHIP_NBR = B.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 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
3 | RELATIONSHIP_NBR | Number(2,0) | SMALLINT NOT NULL | Relationship Nbr |
4 | AV_NAME2 | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
6 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
7 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table: NID_TYPE1_VW |
8 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
9 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
10 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
11 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
12 | EMPLID_RELATED | Character(11) | VARCHAR2(11) NOT NULL |
Related People ID
Prompt Table: PEOPLE_SRCH |
13 | PEOPLE_RELATION | Character(2) | VARCHAR2(2) NOT NULL |
Relationship
Default Value: NI |
14 | 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 |
15 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
16 | JOINT_RECORD | Character(1) | VARCHAR2(1) NOT NULL |
Create Joint Records
Y/N Table Edit Default Value: N |