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
- _nodeId
Type: RecId Extended Data Type
The ID of the DimensionConstraintNode record to modify.
- _node
Type: DimensionTreeNode Class
An instance of the DimensionTreeNode class that specifies the new values.
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.