DimensionTree.removeNode Method [AX 2012]
Deletes the constraint node and all its child nodes.
Syntax
public DimensionTreeResult removeNode(RecId _nodeId)
Run On
Called
Parameters
- _nodeId
Type: RecId Extended Data Type
The ID of the DimensionConstraintNode record to be deleted.
Return Value
Type: DimensionTreeResult Class
An instance of the DimensionTreeResult class setup as successful but without any RecId value.
When allowOverlap is in effect, the results also include the overlapping nodes information available through parmOverlappingNodes ,ethod and the updated parent node data available through parmUpdatedParentNodes and parmUpdatedHasErrorInChildren method.
Remarks
If the node is the last sibling node of the parent, a "*" branch is created. The criteria records that correspond are deleted also.