How to call job to another job in axapta using x++ code

1. Create simple job job_test  and add it to action menu item in AOT.
2. Call job_test in other job using following code.

   Args                    args; 
    args = new Args();; 
    new menuFunction(menuItemActionStr(Jobs_Test), MenuItemType::Action).run(args);

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.