PSASchedEmplReservation::HasReservation Method
Check if the current worker has any hard/soft bookings for current project.
Syntax
client server public static boolean HasReservation(
RecId _workerId,
ProjId _projId,
[smmActivityNumber _actNumber,
PSASchedCommit _commitType,
RecId _workerLE])
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.
- _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.
Return Value
Type: boolean
true if there is any hard/soft bookings for current worker on current project; otherwise, false;