NID_DEP_SRCH_VW(SQL View) |
Index Back |
---|---|
Lookup EE by NIDThis view is used to retrieve employees with a certain National ID. |
SELECT %Sql(SCRTY_SEL_PKEY,SEC,SEC) ,%Sql(SCRTY_SEL_NMSBR,SEC) , %Sql(SCRTY_SEL_FLDSBR,SEC) ,' ' ,N.COUNTRY ,N.NATIONAL_ID_TYPE ,N.NATIONAL_ID ,N.DEPENDENT_BENEF ,T.NATIONAL_ID_FORMAT FROM PS_DEP_BENEF_NID N , PS_PERS_SRCH_GBL SEC ,PS_NID_TYPE_TBL T WHERE N.EMPLID = SEC.EMPLID AND T.COUNTRY = N.COUNTRY AND T.NATIONAL_ID_TYPE = N.NATIONAL_ID_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | ROWSECCLASS | Character(30) | VARCHAR2(30) NOT NULL | The class used to determine row level security |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
7 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |
8 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
9 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
10 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
11 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
12 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
13 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
14 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
15 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
16 | APPT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
This field tracks whether a row is a Main Appointment (which all rows outside Japan are), or an Additional Appointment, which is a feature only used by Japanese customers.
0=Core Appointment 1=Japan Kenmu Appointment 2=French Public Sector Appt 3=Staffing |
17 | EMPL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Payroll Status
A=Active D=Deceased L=Leave of Absence P=Leave With Pay Q=Retired With Pay R=Retired S=Suspended T=Terminated U=Terminated With Pay V=Terminated Pension Pay Out W=Short Work Break X=Retired-Pension Administration |
18 | OTHER_ID_JPN | Character(11) | VARCHAR2(11) NOT NULL | Other Identifier |
19 | FUTURE_FLG | Character(1) | VARCHAR2(1) NOT NULL | Flag for the SJT_*** record that indicates whether this is a future dated row or not. Y = Future N = Current |
20 | REPORTS_TO | Character(8) | VARCHAR2(8) NOT NULL | Reports To Position Number |
21 | SUPERVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL | Supervisor ID |
22 | SETID_JOBCODE | Character(5) | VARCHAR2(5) NOT NULL | Job Code Set ID |
23 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
24 | NID_SPECIAL_CHAR | Character(20) | VARCHAR2(20) NOT NULL | NID as Stored |
25 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
26 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL | National ID Type |
27 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
28 | DEPENDENT_BENEF | Character(2) | VARCHAR2(2) NOT NULL |
Dependent Benefit
01=default |
29 | NATIONAL_ID_FORMAT | Character(20) | VARCHAR2(20) NOT NULL | National ID Format |