GPHK_EE_NID_VW

(SQL View)
Index Back

Retrieve Employee ID N

The PERS_NID table can contain different ID for an employee. This view is required to retrieve the ID number of an employee.

SELECT A.EMPLID , A.NATIONAL_ID FROM PS_PERS_NID A WHERE A.NATIONAL_ID_TYPE IN ('ID_NO', 'ID_NO2') AND A.PRIMARY_NID = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID