Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Check if the specified worker has any hard/soft bookings for specified company.
Syntax
client server public static boolean hasReservationInCompany(
RecId _workerId,
date _startDate,
date _endDate,
[SelectableDataArea _dataArea,
RecId _workerLE])
Run On
Called
Parameters
- _workerId
Type: RecId Extended Data Type
The current worker's Rec Id.
- _startDate
Type: date
Start date of the range of reservations to check
- _endDate
Type: date
End date of the range of reservations to check
- _dataArea
Type: SelectableDataArea Extended Data Type
The dataArea to look for in the the range of reservations to check
- _workerLE
Type: RecId Extended Data Type
The worker's legal entity Id.
Return Value
Type: boolean
true if there is any hard/soft bookings for current worker on specified company; otherwise, false;