P 2 K_PU.EID
Back to current versionRestore this version

Identity Information#

Functionality:#

This function retrieves information as seen on IEID, for an employee's identity information.

Parameters:#

EID_ID The actual ID for the identity record belonging to the employee you are getting data for
WHAT Identifies which field in the P2K_HR_IDENTITIES table you wish to retrieve

WHAT Parameter Values#

Returns: #

Varchar2 (regardless of the type of data being requested)

Errors: #

Example: #

P2K_PU.EID(~,'NAME') - Using Identity ID as the first parameter (~)

Will return the First Name and Last Name of employee, separated by a space

P2K_PU.EID(~,'EEM_ID-01') - Using Identity ID as the first parameter (~)

Will return the ID of the current employment ID for employment type = 01 (Employee). Note that this does not restrict to active records - the employee may be terminated on this record. This can be used in a qualification record to compare if the EEM_ID retrieved is equal to this most current record.

Notes#

Click to create a new notes page