P 2 K_PU.GET_EASD

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#

Here is an example of how to use this function to update a User Defined Field from an excel spreadsheet.


Notes#

Click to create a new notes page