PBATreeNodeBuildElse.buildSubNode Method [AX 2012]

Creates a subnode by adding a new record to the PBATreeNode table.

public PBATreeNode buildSubNode(
    PBATreeNode _PBATreeNode, 
   [boolean doPrompt, 
    PBATreeNode _hitNode])

Run On

Called

Parameters

_PBATreeNode
Type: PBATreeNode Table
The PBATreeNode record that corresponds to the node where a new node should be inserted.
doPrompt
Type: boolean
A Boolean value that is used in the PBATreeNodeBuildBOM child class to define whether a node form should be called. The default value is true.
_hitNode
Type: PBATreeNode Table
The PBATreeNode record that corresponds to the node in the modeling tree where new node was dropped. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Return Value

Type: PBATreeNode Table
The PBATreeNode record that corresponds to the newly created node.

Community Additions

ADD
Show: