Doens.be

  • Linkedin flickr twitter delicious Facebook Youtube

Posts Tagged ‘Ax 6.0 (2011)’

Microsoft Dynamics Ax – Technical conference 2011 (Redmond)

Microsoft is launching the next version of Ax next year. There will be a conference where partners can have a early look on the application. The conference is held on the Redmond campus from January 17 through January 20, 2011.

You can find more information regarding this conference on http://www.microsoft.com/dynamics/DynamicsAXtechnicalconference2011.

Batch job performance boost

Did you ever have trouble with the performance of your batch-job? Well maybe this small trick can shorten the time your batch runs.

The big idea: Try to split up your gigantic batch in smaller pieces. Launch a batchjob that produces many smaller batchjobs (tasks) that can handle a subset of the data you need to process. For example you can create a batch that creates a batch with sub-tasks for each company.

How do you plan a batch from code?

1
2
3
4
5
6
7
8
9
10
11
12
BatchHeader batHeader;
BatchInfo batInfo;
TstRunBase rbbTask;
;
rbbTask = TstMyBatch::construct();
batInfo = rbbTask.batchInfo();
batInfo.parmCaption("MyBatch");
batInfo.parmGroupId("");
batHeader = BatchHeader::construct();
batHeader.addTask(rbbTask);
batHeader.save();
info(batInfo.parmCaption());

You can download a quick example I made. This is a job you can schedule and it will produce a new Batch job with a task for each company when you don’t select a company while shedualing (Class_TstRunBase.xpo). I hope this can help you.

Schedule the batch:

The result:

Ax 6.0 Sneak Preview(s)

If you want a sneak preview into Microsoft Dynamics Ax 6.0 and if you want to know all about the new features, follow the MFP-blog!