Share via


PSASchedEmplReservation::hasReservationInCompany Method

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

  • _startDate
    Type: date
    Start date of the range of reservations to check
  • _endDate
    Type: date
    End date of the range of reservations to check

Return Value

Type: boolean
true if there is any hard/soft bookings for current worker on specified company; otherwise, false;

See Also

Reference

PSASchedEmplReservation Table