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.

ExceptionCondition
Warning

Thrown when the item cannot be moved to the new parent.

Community Additions

ADD
Show: