HcmPositionWorkerAssignment::existActivePositionWorker Method
Indicates whether the specified worker has any associated position on the given date.
Syntax
client server public static boolean existActivePositionWorker(
HcmWorkerRecId _workerRecId,
HcmPositionRecId _positionRecId,
[utcdatetime _validFrom,
utcdatetime _validTo])
Run On
Called
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker to check.
- _positionRecId
Type: HcmPositionRecId Extended Data Type
A position record ID.
- _validFrom
Type: utcdatetime
A value of the ValidFrom field.
- _validTo
Type: utcdatetime
A value of the ValidTo field.
Return Value
Type: boolean
true if the identification type ID exists; otherwise, false.