Share via


DimensionTree::deleteTree Method [AX 2012]

Deletes the tree.

Syntax

server public static boolean deleteTree(RecId _treeId)

Run On

Server

Parameters

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.

See Also

Reference

DimensionTree Class