BOMLevelAnalyzer.addDependency Method [AX 2012]

Adds an is-produced-from dependency between two items to the dependency graph.

Syntax

public void addDependency(RecId _used, RecId _produced)

Run On

Called

Parameters

  • _used
    Type: RecId Extended Data Type
    The item used to produce the other item, specified by its RecID in the inventory table.
  • _produced
    Type: RecId Extended Data Type
    The item produced by using the other item, specified by its RecID in the inventory table.

Remarks

Circular structures should not be created.

See Also

Reference

BOMLevelAnalyzer Class