X++ code to find all the objects in AOT of AX2009

static void RB_AOTelements(Args _args)
{

treeNode treeNode;

xInfo xInfo = new xInfo();

#AOT

;

treeNode = xInfo.findNode(#AOTRootPath);

treeNode = treeNode.AOTfirstChild();

while(treenode)
{
Print "----------------------------------------------------------------------------------------";
Print treenode.AOTname();
pause;
treeNode = treeNode.AOTnextSibling();
}

}

No comments:

Post a Comment