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

D365 F&O X++ code Update_Recordset and SkipDataMethods still calling update method

D365 F&O X++ code Update_Recordset and SkipDataMethods still calling update method It sounds like you're encountering an issue where...