PBATreeNodeBuild.duplicateSubTree Method [AX 2012]
Copies the nodes in a subtree and pastes them into another node.
public PBALineNum duplicateSubTree(
PBATreeNode copyFrom,
PBATreeNode newParent,
[PBALineNum prevLineNum])
Run On
CalledParameters
- copyFrom
- Type: PBATreeNode Table
The record in the PBATreeNode table that corresponds to the node in the modeling tree, from where the subtree should be copied.
- newParent
- Type: PBATreeNode Table
The record in the PBATreeNode table that corresponds to the node in the modeling tree, where the subtree should be copied to.
- prevLineNum
- Type: PBALineNum Extended Data Type
The line number of the previous node. The default value is 0.
Return Value
Type: PBALineNum Extended Data TypeThe line number of the node where the tree was copied to.
Community Additions
ADD
Show: