DimensionTree::duplicateTree Method [AX 2012]
Creates a copy of the whole tree.
Syntax
client server private static RecId duplicateTree(
RecId _treeId,
str _name,
str _description,
boolean _isDraft)
Run On
Called
Parameters
- _treeId
Type: RecId Extended Data Type
The record ID of the tree to duplicate.
- _name
Type: str
The name of the new tree.
- _description
Type: str
The description of the new tree.
- _isDraft
Type: boolean
A Boolean value that indicates whether the new tree is a draft tree.
Return Value
Type: RecId Extended Data Type
The record ID of the new tree.