X++ Code to add new components in AOT

static void AOTCreatequery(Args _args)
{
// This function will add a new Form to the AOT.
treeNode treeNode;
xInfo xInfo = new xInfo();
;
treeNode = xInfo.rootNode();
treeNode = treeNode::findNode("Forms"); // You can use all the AOT components.
treeNode.AOTadd("Praveen");
treenode.AOTsave();
}

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...