This documentation is archived and is not being maintained.
RetailConnTableDistributionTree.moveItem Method [AX 2012]
Moves and adds the node to the specified new parent.
public int moveItem(
int idxToMove,
int newParentIdx,
int newSiblingIdx)
Run On
Client
Parameters
-
idxToMove
- Type: int
The ID of a node to be moved.
-
newParentIdx
- Type: int
The ID of the new parent.
-
newSiblingIdx
- Type: int
The sibling ID of the selected node.
Return Value
Type:
int
The new ID value.
| Exception | Condition |
|
Warning
|
Thrown when the item cannot be moved to the new parent.
|