This documentation is archived and is not being maintained.
TreeNode.AOTdelete Method [AX 2012]
Deletes the tree node in the development layer that you are currently working in.
The following example deletes the Address form.
#AOT
static void myJobAOTdelete(Args _args)
{
treeNode treeNode;
treeNode = TreeNode::findNode(#FormsPath + '\\' + formStr(Address));
treeNode.AOTdelete();
}