HcmPositionWorkerAssignment::existActiveEmployment Method
Indicates whether the specified worker has any associated position.
Syntax
client server public static boolean existActiveEmployment(
HcmWorkerRecId _worker,
[utcdatetime _asofDate,
HcmPositionRecId _position,
OMDepartmentRecId _department])
Run On
Called
Parameters
- _worker
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker to check.
- _asofDate
Type: utcdatetime
The UtcDateTime value that is used to search the date effective records of the worker position association.
- _position
Type: HcmPositionRecId Extended Data Type
A position record ID.
- _department
Type: OMDepartmentRecId Extended Data Type
A department record ID.
Return Value
Type: boolean
true if the identification type ID exists; otherwise, false.