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.
Calculates the percent billable hours on the timesheet.
Syntax
public TSPercentBillable parmPercentHours_Billable(
CompanyId _companyId,
TableId _tableId,
RecId _recId)
Run On
Called
Parameters
- _companyId
Type: CompanyId Extended Data Type
The company ID that corresponds to the workflow instance.
- _tableId
Type: TableId Extended Data Type
The table ID that corresponds to the workflow instance.
- _recId
Type: RecId Extended Data Type
The record ID that corresponds to the workflow instance.
Return Value
Type: TSPercentBillable Extended Data Type
The total hours on the timesheet.
Exceptions
| Exception | Condition |
|---|---|
| Error | The table ID must be a TSTimesheetTable table. -or- The record ID cannot be zero. |
Remarks
The hours are summed for the timesheet and the percentage of billable hours is returned.