Monday 21 July 2014

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

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

How to call job to another job in axapta using x++ code1. 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();
args.name(identifierStr(Jobs_Test));
new menuFunction(menuItemActionStr(Jobs_Test), MenuItemType::Action).run(args);
If you want to add job in action menuitem then just right click on aot menuitem on action type then create new menuitem. After that you can set that job in object selection property of menuitem.  You can not direction drag job to action menuitem

6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Office it the store of office gadgets to make your working smooth and effective.visit: office.com/setup to downloaded in your PC with the savvy help.

    ReplyDelete
  3. It is unsurpassed best defensive antivirus and against spyware. It is ongoing security innovation and mcafee.com/activate it is more secure.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Microsoft Office is an office suite that wires a degree of master report and database applications, servers and affiliations. This wide range joins perpetual indisputable and obvious tasks like Word, Excel, PowerPoint, Outlook, Microsoft Access, OneNote, other than applications, for instance, Microsoft Publisher, Microsoft Project, Microsoft Visio, Skype for Business, and SharePoint Designer. Have a trial of it... and to setup it in your pc Do visit : office.com/setup

    ReplyDelete
  6. Try which is incredibly simple to exhibit, download and recover. office.com/setup Use of it is in addition principal and the client can get capacity with the utilization of it enough. Online Support&help elective is in like way open in all application which gives a moment rule.

    ReplyDelete

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...