PBATreeNodeBuild.checkCancel Method [AX 2012]

Saves or deletes information when a form with node data is closed.

public void checkCancel(FormRun form, PBATreeNode common)

Run On

Called

Parameters

form
Type: FormRun Class
The form object that was opened.
common
Type: PBATreeNode Table
The PBATreeTable record that corresponds to the selected node.

If a form is closed using the Cancel button, the current record is deleted from the PBATreeNode table. If the form was created for a BOM node, Route node, or Document Handling node, the record is saved, and is not deleted (these forms do not have a Cancel button).

Community Additions

ADD
Show: