13 Aug 2013

Fix for adding a new dimension in Dynamics AX

A very minor fix is required on the following SysDimensionAddWizard class to enhance the dimension functionality in Dynamics AX 4.0 and Dynamics AX 2009. This fix is not required for Dynamics AX 2012.

SysDimensionAddWizard class which runs the Financial Dimension Wizard, it is used for adding a new financial dimension to the system. Number of adding dimensions are controlled by Dynamics AX License key. Make sure you have sufficient licenses for the number of dimensions you are adding to Dynamics AX 2009, Since user defined dimensions are limited to seven.

Standard AX comes with the following three default dimensions:

Department
Cost center
Purpose

In SysDimensionAddWizard class changes are required in its run() and versionControlCheckOut() methods.

Add the code to run() method under the if statement as shown in the below image.


Add the code to the versionControlCheckOut() method as shown in the below image.



After adding the above code, test by adding the dimensions.

Note: There's no limitation on creating user defined dimensions, if you are using Dynamics AX 2012 ,the above fix and code changes are not required.

No comments:

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...