Share via


DimensionTree::getDisambiguationDepthForTrees Method [AX 2012]

Determines the level at which the two nodes can be disambiguated.

Syntax

client server private static int getDisambiguationDepthForTrees(
    DimensionTreeImage _treeImage1, 
    DimensionTreeImage _treeImage2, 
    DimensionTreeNode _node1, 
    DimensionTreeNode _node2, 
    int _level, 
    int _levelsToCheck, 
    boolean _displayInfolog)

Run On

Called

Parameters

  • _level
    Type: int
    The segment level of the nodes being compared.
  • _levelsToCheck
    Type: int
    The number of levels to compare.
  • _displayInfolog
    Type: boolean
    A Boolean value that indicates whether the Infolog messages should be displayed.

Return Value

Type: int
The maximum disambiguation level.

Remarks

0 is retrieved if the nodes are ambiguous.

See Also

Reference

DimensionTree Class