HcmPositionWorkerAssignment::getNearestFutureDatedWorkerAssignment Method
Gets the nearest future dated HcmPositionWorkerAssignment record for a supplied HcmPositionRecId value.
Syntax
server public static HcmPositionWorkerAssignment getNearestFutureDatedWorkerAssignment(
HcmPositionRecId _hcmPositionRecId,
[utcdatetime _startDateTime,
utcdatetime _endDateTime])
Run On
Server
Parameters
- _hcmPositionRecId
Type: HcmPositionRecId Extended Data Type
The supplied HcmPositionRecId value.
- _startDateTime
Type: utcdatetime
A value of the ValidFrom field.
- _endDateTime
Type: utcdatetime
A value of the ValidTo field.
Return Value
Type: HcmPositionWorkerAssignment Table
A HcmPositionWorkerAssignment record buffer.