Share via


DimensionHierarchyController.initDimensionTreeNode Method [AX 2012]

Initializes an instance of the DimensionTreeNode class based on the specified constraint.

Syntax

protected Struct initDimensionTreeNode(str _constraint, boolean _isOptional)

Run On

Client

Parameters

  • _constraint
    Type: str
    The constraint to use to initialize the DimensionTreeNode object.
  • _isOptional
    Type: boolean
    A Boolean value that indicates whether the constraint node is optional.

Return Value

Type: Struct Class
A struct that contains two values.

Remarks

The #initNode_TreeNode value is an DimensionTreeNode instance that represents the specified constraints without errors. The #initNode_InvalidCount value is an integer that represents the number constraints that had errors.

See Also

Reference

DimensionHierarchyController Class