PurchReApprovalPolicyRuleFieldList.moveOneTreeItem Method [AX 2012]

Moves a table, fast or field from one tree structure to another.

private int moveOneTreeItem(
    FormTreeControl _fromTree, 
    FormTreeControl _toTree, 
    Map _fromFastTab2treeIdx, 
    Map _toFastTab2treeIdx, 
    int _index)

Run On

Client

Parameters

_fromTree
Type: FormTreeControl Class
The FormTreeControl object where tree items should be removed.
_toTree
Type: FormTreeControl Class
The FormTreeControl object where tree items should be added.
_fromFastTab2treeIdx
Type: Map Class
A map that is used to find the FormTreeItem object that is associated to a fast tab.
_toFastTab2treeIdx
Type: Map Class
A map that is used to find the FormTreeItem object that is associated to a fast tab.
_index
Type: int
The index of the current tree item.

Return Value

Type: int
The index of the added tree item in the _toTree value.

Community Additions

ADD
Show: