static void findAOTObjectByProperty(Args _args){#AOTTreeNode treeNodeTables = TreeNode::findNode(#TablesPath);TreeNode treeNode;str strPropertyName = 'SaveDataPerCompany';str strPropertyValue = 'No';treeNode = treeNodeTables.AOTfirstChild();while (treeNode != null){if (treeNode.AOTgetProperty(strPropertyName)== strPropertyValue){info(treeNode.AOTname());}treeNode = treeNode.AOTnextSibling();}}
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.
Authors are allowed to set their own AdSense units and "buy me a coffee" link.
Join us.