DimensionTree::copyTree Method [AX 2012]
Creates a copy of the whole tree.
Syntax
server public static RecId copyTree(
RecId _treeId,
str _name,
str _description)
Run On
Server
Parameters
- _treeId
Type: RecId Extended Data Type
The record ID of the tree to copy.
- _name
Type: str
The name of the new tree.
- _description
Type: str
The description of the new tree.
Return Value
Type: RecId Extended Data Type
Returns the record ID of the new tree if the method successfully finishes.
Remarks
The tree to copy cannot be a draft tree.