P 2 K_PU.GET_EID

Get Employee EID_ID value#

Functionality:#

This function retrieves the ID for P2K_HR_IDENTITIES

Parameters:#

PERSON_CODE Optional. The PERSON_CODE for the employee.
GOVERNMENT_CODE Optional. The GOVERNMENT_CODE for the employee.
If you prefix the government code with the letter "E", then the EXTERNAL_RETIREMENT_ID field (without the "E") is used to retrieve the EID_ID

Returns: #

Numeric

Errors: #

Example: #

P2K_PU.GET_EID(~)

will get the EID_ID value for the passed PERSON_CODE.

P2K_PU.GET_EID(0,~)#

will get the EID_ID value for the passed GOVERNMENT_CODE. Note that the first parameter is optional, but must still contain a value.

P2K_PU.GET_EID(0,'E'||~)#

will get the EID_ID value for the passed EXTERNAL_RETIREMENT_ID. Note that the first parameter is optional, but must still contain a value.

Notes#


Notes#

Click to create a new notes page