TreeNode.AOTedit Method [AX 2012]
Opens the appropriate editor for this node.
The following code example opens the X++ editor, shows the class declaration of the class Tax, and positions the pointer at line 6, column 8.
#AOT
static void myJobAOTEdit(Args _args)
{
treeNode treeNode;
treeNode = TreeNode::findNode(#ClassesPath + '\\' + classStr(Tax)+ '\\ClassDeclaration');
if (treeNode)
{
treeNode.AOTedit(6,8);
}
else
{
print "Could not find treeNode";
}
pause;
}
Community Additions
ADD
Show: