Share via


TSWorkflowTimesheet.calculateTotals Method [AX 2012]

Calculates summary hours, those being billable, non-billable and total, for the timesheet.

Syntax

private void calculateTotals(
    CompanyId _companyId, 
    TableId _tableId, 
    RecId _recId)

Run On

Called

Parameters

Exceptions

Exception Condition
Error

The table ID must be the TSTimesheetTable table.

-or-

The record ID cannot be zero.

Remarks

The timesheet transactions are read and summarized to determine total hours.

See Also

Reference

TSWorkflowTimesheet Class