Monday, 21 December 2015

How to Open Project through X++ Code in Ax 2012

static void OpenProjectThroughCode(Args _args)
{
    ProjectNode     projectType,projectNode;

    projectType = infolog.projectRootNode().AOTfindChild('Shared');
    projectNode = projectType.AOTfindChild('Your Project Name Which You want to open');
    if(projectNode)
    {
        projectNode.getRunNode();
    }

}

No comments:

Post a Comment