May 7, 2014

Opening a project in AX through the code

static void projectNodeOpen(Args _args)
{ 
    ProjectNode projectType,projectNode;
    ;
    projectType    =  Infolog.projectRootNode().AOTfindChild('Private');
    projectNode   =  projectType.AOTfindChild('EPTest');
    if (projectNode)
    {
        projectNode.getRunNode();
    }
}

No comments: