Share via


DimensionTree.getParentNodeLevel Method [AX 2012]

Gets the hierarchy level of the parent node.

Syntax

private int getParentNodeLevel(RecId _parentNodeId)

Run On

Called

Parameters

  • _parentNodeId
    Type: RecId Extended Data Type
    The ID of the DimensionConstraintNode record that specifies the parent node.

Return Value

Type: int
The level of the parent node.

Remarks

Retrieves zero if the parent is the tree root.

See Also

Reference

DimensionTree Class