InventTrackingDimTracingHierarchyTree.createItemTreeNode Method [AX 2012]
Create a child node in the tree for the specified item transaction under the specified tree node.
Syntax
protected TreeItemIdx createItemTreeNode(
InventTransOrigin _inventTransOrigin,
InventTrans _inventTrans,
int _hierarchyNodeId,
TreeItemIdx _nodeId,
[TreeItemIdx _insertAfter])
Run On
Called
Parameters
- _inventTransOrigin
Type: InventTransOrigin Table
The InventTransOrigin record for the transaction.
- _inventTrans
Type: InventTrans Table
The InventTrans record for the transaction.
- _hierarchyNodeId
Type: int
The hierarchy node for which the tree node is being created.
- _nodeId
Type: TreeItemIdx Extended Data Type
The tree node under which the new node is created.
- _insertAfter
Type: TreeItemIdx Extended Data Type
The ID of the tree node sibling after which the node is inserted. Optional.
Return Value
Type: TreeItemIdx Extended Data Type
The ID of the new node.