TSAppEmplSub::isDelegateFor Method
Verifies if one worker was a delegate for another worker on specified date.
Syntax
client server public static boolean isDelegateFor(
ProjWorkerRecId _worker,
[ProjWorkerRecId _appWorker,
TSDate _date])
Run On
Called
Parameters
- _worker
Type: ProjWorkerRecId Extended Data Type
The worker whose delegate is being verified.
- _appWorker
Type: ProjWorkerRecId Extended Data Type
The worker to be checked for being a delegate.
- _date
Type: TSDate Extended Data Type
The date on which delegation is being vefified.
Return Value
Type: boolean
true if _appWorker was a delegate for _worker on _date; otherwise, false.