If you need to execute code in batch, here is an example of how to add a batch job for the corresponding RunBaseBatch class.
Tag: Batch Jobs
Microsoft Dynamics Ax, Enterprise Portal
Debugging non-interactive X++ code in Dynamics AX 2009 when running on Windows Server 2008 – EMEA Dynamics AX Support – Site Home – MSDN Blogs
by Bo Jensen •
Debugging non-interactive X++ code in Dynamics AX 2009 when running on Windows Server 2008 – EMEA Dynamics AX Support – Site Home – MSDN Blogs