Share via


DimensionTree.updateNode Method [AX 2012]

Updates an existing constraint node record with the specified values.

Syntax

public DimensionTreeResult updateNode(RecId _nodeId, DimensionTreeNode _node)

Run On

Called

Parameters

Return Value

Type: DimensionTreeResult Class
An instance of the DimensionTreeResult class where the isSuccessful method will return true if the node was updated without errors.
When the allowOverlap is in effect, the results also include the overlapping nodes information available through parmOverlappingNodes method and the updated parent node data available through parmUpdatedParentNodes and parmUpdatedHasErrorInChildren method.

Remarks

The _node parameter should have been formed by using the constructEmpty method.

See Also

Reference

DimensionTree Class