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 current worker has any hard/soft bookings for current project within a certain date range.
Syntax
client server public static boolean HasReservationInRange(
RecId _workerId,
ProjId _projId,
TransDate _fromDate,
TransDate _toDate,
[smmActivityNumber _actNumber,
PSASchedCommit _commitType,
RecId _workerLE,
boolean _reservationOnly])
Run On
Called
Parameters
- _workerId
Type: RecId Extended Data Type
The current worker's Rec Id.
- _projId
Type: ProjId Extended Data Type
The current project's Id.
- _fromDate
Type: TransDate Extended Data Type
The start date of the date range.
- _toDate
Type: TransDate Extended Data Type
The end date of the date range.
- _actNumber
Type: smmActivityNumber Extended Data Type
The current activity's Id.
- _commitType
Type: PSASchedCommit Enumeration
The commitment type soft/hard
- _workerLE
Type: RecId Extended Data Type
The worker's legal entity Id.
- _reservationOnly
Type: boolean
Return Value
Type: boolean
true if there is any hard/soft bookings for current worker on current project; otherwise, false;