Sunday, October 2, 2016
Sunday, August 28, 2016
The example above is useful also to move the DMF Setup from one Environment to another.
Monday, July 4, 2016
Saturday, February 20, 2016
Many of you use TFS in order to track the Development, Bug, Rework, etc. WorkItems.
Could be useful have a list of all Changesets with relative workitem, Owner, Estimation, Custom tag.
A really good script to achieve this result, is a PowerShell Script that you can find here
You can modify as per your needed, you can filter per Date, User, etc.
Take care in the Export to CSV file command, especially on the Group by “Group ServerItem”.
From my side, many Changesets had the “ServerItem” tag empty.
Enjoy with TFS!
TFS BUILD : The tools version "12.0" is unrecognized. Available tools versions are "2.0", "3.5", "4.0"..
During the TFS Build you can face the error “The tools version "12.0" is unrecognized. Available tools versions are "2.0", "3.5", "4.0"
This error is triggered during the command SysTreeNodeVSProject::importProject(@filename) and so it’s related the C Sharp Projects.
In order to fix, there are two options:
1- Install Visual Studio 2013
2- Install MicrosoftBuild Tools 2013
All the best!
Thursday, December 31, 2015
In AX 2012 Microsoft introduced the new framework (Business Operation Framework service) in order to consume a Batch process especially in Multithread.
But, you can use also the "old" RunBaseBatch class.
About it, take a look to this very interesting POST.
In order to submit a "task" class you can use two methods :
1- "AddRuntimeTask" method.
Adds an instance of a dynamic BatchTask to the BatchHeader. The BatchTask added exists for only the current run. It gets copied into the history tables and deleted at the end of the run. The second parameter, inheritFromTaskId, copies settings such as the batch group and child dependencies from the task specified.
2- "AddTask" method.
Adds an instance of a BatchTask to the BatchHeader. The BatchTask represents a batch-enabled class that will be scheduled for execution as a task by the BatchHeader.
So, you have to use the first one method otherwise if the process is recursive also the previous child completed tasks will be moved in running state together with the new tasks.
Happy new year!!
Tuesday, December 29, 2015