The following X++ Code is used to running Object in AOT.
remak by Jimmy on 2010-04-08
static void Jimmy_runAOTObeject(Args _args) { TreeNode treeNode; #AOT xInfo xInfo = new xInfo(); ; treeNode = treeNode::findNode(#FormsPath); treeNode = treeNode.AOTfindChild("VendTable"); treeNode.AOTrun(); treeNode = treeNode::findNode(#TablesPath); treeNode = treeNode.AOTfindChild("QVS_BatchJobRunToReport"); treeNode.AOTrun(); treeNode = xInfo.rootNode(); treeNode = treeNode::findNode("Jobs").AOTfindChild("Jimmy_Array"); treeNode.AOTrun(); }