GPHK_EE_PP_VW(SQL View) |
Index Back |
---|---|
retrieve Employee Passport DtlThe CITIZEN_PSSPRT table contains passport details of both employees and their dependants. We need this to retrieve the correct employee details |
SELECT A.EMPLID , A.PASSPORT_NBR , A.COUNTRY_PASSPORT , A.DT_ISSUED , A.EXPIRATN_DT FROM PS_CITIZEN_PSSPRT A WHERE A.DEPENDENT_ID = '00' OR A.DEPENDENT_ID = ' ' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | PASSPORT_NBR | Character(15) | VARCHAR2(15) NOT NULL | Passport Number |
3 | COUNTRY_PASSPORT | Character(3) | VARCHAR2(3) NOT NULL | Country Issuing Passport |
4 | DT_ISSUED | Date(10) | DATE | Issue Date |
5 | EXPIRATN_DT | Date(10) | DATE | Expiration Date |