Microsoft Dynamics Ax, Application Integration Framework, X++ programming, AX 2009 , 2012. Enterprise portal, SharePoint , BI Tools, OLAP, OLTP, DAX, SQL Database, SSRS,SSIS,SSAS, Workflow.

Monday, February 4, 2013

Compile and schedule time for AOT Node in axapta

To comple AOT Node by code you can try following code in job.

treeNode treeNd;
;
treeNd= TreeNode::findNode(#FormsPath);
treeNd.AOTcompile();

If you want to schedule time to compile AOT then you can do following things.

To create a scheduled task You require to access "Start -> All programs -> Accessories -> System Tools -> Scheduled tasks" and Point the Scheduled Task Wizard to "Ax32.exe" this exe must be in your "client\bin directory" and enter users details like user ID, password and time etc

You can either Axapta login window or by entering Network accout name available under Tools -> Options -> General Tab in Axapta.

I hope this will work well for you.
Active Search Results Technology Blogs