Share via


ReqDependencyAnalyzer.addDependency Method [AX 2012]

Add a dependency between two tasks.

Syntax

public void addDependency(anytype _taskBefore, anytype _taskAfter)

Run On

Called

Parameters

  • _taskBefore
    Type: anytype
    The task that must be executed before the other.
  • _taskAfter
    Type: anytype
    The task that must be executed after the other.

Exceptions

Exception Condition
Error

One or both of the tasks have not been added yet.

Error

One or both of the tasks have not been added yet.

Remarks

The tasks must have been added already.

See Also

Reference

ReqDependencyAnalyzer Class