Share via


ReqCalcTaskController.endTask Method [AX 2012]

Ends a task by setting the end time to the current time.

Syntax

public void endTask(ReqCalcTask _reqCalcTask, [boolean _copyTaskToTrace])

Run On

Called

Parameters

  • _reqCalcTask
    Type: ReqCalcTask Table
    A ReqCalcTask record that identifies the task to end.
  • _copyTaskToTrace
    Type: boolean
    A Boolean value that indicates whether the task should be copied to the task trace.

Exceptions

Exception Condition
Error

An invalid task or an unassigned task is specified as parameter.

See Also

Reference

ReqCalcTaskController Class