TSTimesheetLine.isOwnerOrDelegate Method
Checks if current user is either owner of the timesheet line or owner's delegate.
Syntax
public boolean isOwnerOrDelegate([ProjWorkerRecId _worker, TSDate _date])
Run On
Called
Parameters
- _worker
Type: ProjWorkerRecId Extended Data Type
Worker for which to check whether owner or delegate relationship.
- _date
Type: TSDate Extended Data Type
Date for which to check delegate relationship.
Return Value
Type: boolean
true if current user is either owner of the timesheet line or owner's delegate; otherwise, false.