Dynamics AX Blog - Dynamics AX 4.0 - aot - Microsoft Dynamics AX (Axapta)
These posts are machine-translated.
Currently, only posts from category »Microsoft Dynamics AX (Axapta)« are displayed 

In recent years, i spent a lot of time in developing in the environment of Microsoft Dynamics AX (formerly Axapta). During this time i created a lot of code, from which I could imagine, that it might be very useful for other AX developers too. But I will present also tips and tricks round the powerful ERP system.
Subscribe to RSS feed of this categoryCurrently, only posts are displayed, which are relevant for Dynamics AX version »Dynamics AX 4.0« 
RSS-Feed of this version

RSS-Feed of this version
Add object nodes to a shared project through codeFind below a short example, how to add object nodes to a shared project through code. static void AddNodeToSharedProject(Args _args)
{ projectNode projectNode; TreeNode treeNode; #AOT #AOTExport projectNode = infolog.projectRootNode(); projectNode = projectNode.AOTfindChild(#expProjectShared); projectNode = projectNode.AOTfindChild('MyProject'); // Add objects treenode = TreeNode::findNode(#TablesPath+'\\'+tableid2name(tablenum(CustGroup))); projectNode.addNode(treenode); treenode = TreeNode::findNode(#TablesPath+'\\'+tableid2name(tablenum(VendGroup))); projectNode.addNode(treenode); treenode = TreeNode::findNode(#ClassesPath+'\\'+classStr(PriceDisc)); projectNode.addNode(treenode); } The so modified Project will look like this: |
|
|
|
|
|
|
To list all (shared-) pojects that carry a specific text in the name, you can use the following code.