DimensionTree::deleteTree Method [AX 2012]
Deletes the tree.
Syntax
server public static boolean deleteTree(RecId _treeId)
Run On
Server
Parameters
- _treeId
Type: RecId Extended Data Type
The record ID of the tree to delete.
Return Value
Type: boolean
true if the tree is deleted; otherwise, false.
Remarks
The draft version of an active tree is also deleted if it exists.
This method also supports deleting draft trees that do not have an active version.