Home > X++ stuffs > Dynamics X++ Job

Dynamics X++ Job

Hi All,


Blogging is my passion. So i have decided to write my own blog for the upcoming ERP product – Dynamics AX. Blog is intended to provide code snippets, information on AX. Here is my first sample job


Calling a X++ job from another job


static void Jobs_ExecutingJob(Args _args)


    Args                    args;



    args = new Args();



     // Create a MenuitemAction as Jobs_MyJob & Object Type should be set to Job

     new menuFunction(menuItemActionStr(Jobs_MyJob), MenuItemType::Action).run(args);




static void Jobs_MyJob()



    info("Infolog demo.");



For User Friendly Infolog refer http://blogs.msdn.com/mfp/pages/the-user-friendly-infolog.aspx 

Categories: X++ stuffs
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: