Share via


TSWorkflowTimesheet.parmTotalHours Method [AX 2012]

Determines the total hours on the timesheet.

Syntax

public TSHoursTotal parmTotalHours(
    CompanyId _companyId, 
    TableId _tableId, 
    RecId _recId)

Run On

Called

Parameters

Return Value

Type: TSHoursTotal Extended Data Type
The total hours on the timesheet.

Exceptions

Exception Condition
Error

The table ID must be TSTimesheetTable table.

-or-

The record ID cannot be zero.

Remarks

The total hours are summed for the timesheet and the value is returned.

See Also

Reference

TSWorkflowTimesheet Class