HR_I9_FL_SRCH

(SQL View)
Index Back

I9 Admin Search record

Search record for I9 module

SELECT %Sql(SCRTY_SEL_PKEY,SEC,SEC) , %Sql(SCRTY_SEL_PERSBR,SEC,SEC) , %Sql(SCRTY_SEL_FLDSBR,SEC) , A.EFFDT , A.EFFSEQ , A.EMAIL_ADDR , COALESCE(EMP.REHIRE_DT ,EMP.REHIRE_DT ,EMP.HIRE_DT) ,EMP.HIRE_DT ,A.I9_STATUS ,%DateDiff(COALESCE(EMP.REHIRE_DT ,EMP.REHIRE_DT ,EMP.HIRE_DT),%CurrentDateIn) ,A.I9_DOCTITLE_A ,A.I9_DOCTITLE_A2 ,A.I9_DOCTITLE_A3 ,A.I9_DOCTITLE_B ,A.I9_DOCTITLE_C ,A.I9_DOC_TITLE_A ,A.I9_DOC_TITLE_A2 ,A.I9_DOC_TITLE_A3 ,A.I9_DOC_TITLE_B ,A.I9_DOC_TITLE_C ,COALESCE(A.I9_REV_DOC_EXP_DT , %DateIn('2100-01-01')) ,COALESCE(A.I9_DOC_EXP_DT_A1 , %DateIn('2100-01-01')) ,COALESCE( A.I9_DOC_EXP_DT_A2 , %DateIn('2100-01-01')) ,COALESCE(A.I9_DOC_EXP_DT_A3 , %DateIn('2100-01-01')) ,COALESCE(A.I9_DOC_EXP_DT_B , %DateIn('2100-01-01')) ,COALESCE(A.I9_DOC_EXP_DT_C , %DateIn('2100-01-01')) , I9_RECEIPT_FLG_A , I9_RECEIPT_FLG_A2 , I9_RECEIPT_FLG_A3 , I9_RECEIPT_FLG_B , I9_RECEIPT_FLG_C , COALESCE(I9_REC_EXP_DT_A1 , %DateIn('2100-01-01')) , COALESCE(I9_REC_EXP_DT_A2 , %DateIn('2100-01-01')) , COALESCE(I9_REC_EXP_DT_A3 , %DateIn('2100-01-01')) , COALESCE(I9_REC_EXP_DT_B , %DateIn('2100-01-01')) , COALESCE(I9_REC_EXP_DT_C , %DateIn('2100-01-01')) , EV.SEQNUM , EV.CASE_IDENTIFIERN , EV.CLOSE_DT , EV.CASE_CLOSED , EV.STATUS , EV.DESCR100 FROM PS_HR_I9_PERSON A LEFT JOIN PS_HR_I9_EVERIFY_V EV ON (EV.EMPLID = A.EMPLID AND EV.EFFDT = A.EFFDT AND EV.EFFSEQ = A.EFFSEQ) , PS_PRI_JOB_VW EMP , PS_PERS_SRCH_GBL SEC WHERE A.EMPLID = EMP.EMPLID AND SEC.EMPL_RCD = EMP.EMPL_RCD AND A.EMPLID = SEC.EMPLID AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_HR_I9_PERSON A1 WHERE A1.EMPLID = A.EMPLID) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_HR_I9_PERSON A2 WHERE A2.EMPLID = A.EMPLID AND A2.EFFDT = A.EFFDT) AND EMP.EFFDT = (SELECT MAX(EMP1.EFFDT) FROM PS_PRI_JOB_VW EMP1 WHERE EMP1.EMPLID = EMP.EMPLID AND EMP1.EFFDT <= %currentdatein)

# 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 PER_ORG Character(3) VARCHAR2(3) NOT NULL Defines the Organizational Relationship(s) that a Person has to the Organization. These are Employee, Contingent Worker, and Persons of Interest.
CWR=Contingent Worker
EMP=Employee
POI=Person of Interest
17 POI_TYPE Character(5) VARCHAR2(5) NOT NULL Defines the Transactional usage of POIs in HRMS.
18 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
19 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID

Prompt Table: SETID_TBL

20 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: PERS_DEPT_VW

21 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
22 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
23 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
24 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region
25 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
26 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
27 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
A=Active
I=Inactive
28 MILITARY_SERVICE Character(8) VARCHAR2(8) NOT NULL Military Service

Prompt Table: MIL_SERVICE_TBL

29 MIL_RANK Character(5) VARCHAR2(5) NOT NULL Military Rank

Prompt Table: MIL_RANK_TBL

30 MIL_WORN_RANK Character(5) VARCHAR2(5) NOT NULL Worn Rank

Prompt Table: MIL_RANK_TBL

31 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
32 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
33 OTHER_ID_JPN Character(11) VARCHAR2(11) NOT NULL Other Identifier
34 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
35 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number
36 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
37 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
38 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
39 EFFDT Date(10) DATE Effective Date

Default Value: %date

40 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
41 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email Address
42 HIRE_DT Date(10) DATE First Start Date
43 ORIG_HIRE_DT Date(10) DATE Original Start Date
44 I9_STATUS Character(1) VARCHAR2(1) NOT NULL I9 status
A=Approved
D=Denied
I=Draft
M=Pushed Back
P=Pending Approval
Q=I9 Verified- Not Approved
R=I9 Reverified
S=Submitted
T=New Document - Pending Approva
U=New Document Submitted
V=Completed
X=Not Started
45 DUE_IN Number(4,0) SMALLINT NOT NULL Due In
46 I9_DOCTITLE_A Character(50) VARCHAR2(50) NOT NULL Document Title
47 I9_DOCTITLE_A2 Character(50) VARCHAR2(50) NOT NULL Document Title
48 I9_DOCTITLE_A3 Character(50) VARCHAR2(50) NOT NULL Document Title
49 I9_DOCTITLE_B Character(50) VARCHAR2(50) NOT NULL Document Title
50 I9_DOCTITLE_C Character(50) VARCHAR2(50) NOT NULL Document Title
51 I9_DOC_TITLE_A Character(2) VARCHAR2(2) NOT NULL Document Title
52 I9_DOC_TITLE_A2 Character(2) VARCHAR2(2) NOT NULL Document Title
53 I9_DOC_TITLE_A3 Character(2) VARCHAR2(2) NOT NULL Document Title
54 I9_DOC_TITLE_B Character(2) VARCHAR2(2) NOT NULL Document Title
1=School Record/Report Card
2=Clinic, Dr. or Hospital Record
3=Day-care/Nursery School Record
K=US Driver's License
L=Government ID Card
M=School ID Card
N=Voter's Registration Card
O=US Military Card
P=Military Dependent's ID Card
Q=US Coast Guard/Mariner Card
R=Native American Tribal Doc
S=Canadian Driver's License
X=Special Placement
Y=Individual under age 18
Z=Special and Minor
55 I9_DOC_TITLE_C Character(2) VARCHAR2(2) NOT NULL Document Title
8=Certification of Birth(FS-545)
9=Certi.Report of Birth(DS-1350)
T=US Social Security Card
T=US Social Security AccNo: Card
U=Certificate of Birth Abroad
V=US Birth Ceritificate
W=Native American Tribal Doc
X=US Citizen ID Card
Y=Resident Citizen ID Card
Z=Employment Authorization Doc
56 I9_REV_DOC_EXP_DT Date(10) DATE Exp. Date (if any)
57 I9_DOC_EXP_DT_A1 Date(10) DATE Exp. Date (if any)
58 I9_DOC_EXP_DT_A2 Date(10) DATE Exp. Date (if any)
59 I9_DOC_EXP_DT_A3 Date(10) DATE Exp. Date (if any)
60 I9_DOC_EXP_DT_B Date(10) DATE Exp. Date (if any)
61 I9_DOC_EXP_DT_C Date(10) DATE Exp. Date (if any)
62 I9_RECEIPT_FLG_A Character(1) VARCHAR2(1) NOT NULL Receipt
63 I9_RECEIPT_FLG_A2 Character(1) VARCHAR2(1) NOT NULL Receipt
64 I9_RECEIPT_FLG_A3 Character(1) VARCHAR2(1) NOT NULL Receipt
65 I9_RECEIPT_FLG_B Character(1) VARCHAR2(1) NOT NULL Receipt
66 I9_RECEIPT_FLG_C Character(1) VARCHAR2(1) NOT NULL Receipt
67 I9_REC_EXP_DT_A1 Date(10) DATE Exp. Date (if any)
68 I9_REC_EXP_DT_A2 Date(10) DATE Exp. Date (if any)
69 I9_REC_EXP_DT_A3 Date(10) DATE Exp. Date (if any)
70 I9_REC_EXP_DT_B Date(10) DATE Exp. Date (if any)
71 I9_REC_EXP_DT_C Date(10) DATE Exp. Date (if any)
72 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
73 CASE_IDENTIFIERN Character(15) VARCHAR2(15) NOT NULL Case Identifier
74 CLOSE_DT Date(10) DATE Date Closed
75 CASE_CLOSED Character(1) VARCHAR2(1) NOT NULL Case Closed ?
76 STATUS Character(1) VARCHAR2(1) NOT NULL Status Indicator
A=Active
I=Inactive
77 DESCR100 Character(100) VARCHAR2(100) NOT NULL Length 100 Description