COLL_PPL_SRCH2(SQL View) |
Index Back |
---|---|
Collections People Srch View 2Common view used when searching for/selecting a person for display/update. This view should be used as the basis for all other views which go against people. The PeopleCode contained on this view is important for any other view which is based on this one - the searching/formatting for names and setting the carry id is done with this code. |
SELECT DISTINCT B.OPRCLASS ,A.BUSINESS_UNIT ,A.EMPLID ,B.NID_COUNTRY ,B.NATIONAL_ID_TYPE ,B.NID_DESCRSHORT ,B.NATIONAL_ID ,B.NATIONAL_ID_MSK ,B.BIRTHDATE ,B.BIRTHDATE_MSK ,B.SEX ,B.NAME ,B.CAMPUS_ID ,B.LAST_NAME_SRCH ,B.FIRST_NAME_SRCH FROM PS_ACCOUNT_SF A ,PS_PEOPLE_SRCH B ,ps_collection_sf c WHERE A.EMPLID=B.EMPLID AND b.emplid = c.emplid AND a.business_unit = c.business_unit AND (c.collection_status = 'A' OR c.collection_status = 'I') AND a.emplid NOT IN ( SELECT f.emplid FROM ps_tp_student f , ps_tp_contract g WHERE g.business_unit = f.business_unit AND g.contract_num = f.contract_num AND g.tp_con_type = 'C') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: NEW Prompt Table: HCR_PERS_DTA_I |
4 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
5 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table: HCR_NID_TYP_I |
6 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
7 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
8 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
9 | BIRTHDATE | Date(10) | DATE | Date of Birth |
10 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
11 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
12 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
13 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
14 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
15 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |