P 2 K_PU.GET_EASD
Back to current versionRestore this version

Get Employee EASD_ID value for the latest prime assignment#

Functionality:#

This function retrieves the ID for P2K_HR_ASSIGNMENT_DETAILS for the Prime Assignment detail record that is the most future, linked to the last hire date.

Parameters:#

PERSON_CODE Optional. The PERSON_CODE for the employee.
GOVERNMENT_CODE Optional. The GOVERNMENT_CODE for the employee.

Returns: #

Numeric

Errors: #

Example: #

P2K_PU.GET_EASD(~)

will get the EASD_ID value for the passed person code

P2K_PU.GET_EASD(0,~)

will get the EASD_ID value for the passed government code. Note that the first parameter is optional, but must still contain a value.

Notes#


Notes#

Click to create a new notes page