Showing posts with label Show the Entire Job in Infolog in Ax 2012. Show all posts
Showing posts with label Show the Entire Job in Infolog in Ax 2012. Show all posts

Monday, 7 May 2018

Show the Entire Job in Infolog in Ax 2012

// Show the Entire Job in Infolog

----------------------------------------------------------------
static void Na_JobInfo(Args _args)
{
    TreeNode    treeNode    =   new TreeNode();

    treeNode    =   treeNode::findNode("Jobs");
    treeNode    =   treeNode.AOTfindChild("Na_SetProductImage");

    if(treeNode)
    {
        info(strFmt("%1",treeNode.AOTgetSource()));
    }
}