Skip to main content

Dynamics Ax 4.0 to Dynamics Ax 2012 upgrade – Part 1


Few weeks ago I took over an upgrade project from Dynamics Ax 4.0 to Dynamics Ax 2012. In the beginning my biggest task was to get an oversight over the project and to figure out the overall status. The code upgrade was somewhat done but only a small portion of the code was lifted to the 2012 version. To complicate the project even more I had to upgrade and install horizontal modules from Axdata, my employer.

In this first post I would like to mention few things to have in mind before you begin the upgrade process.

Read these documents
·         AX 2012 Upgrade Guide.pdf
·         AX2012SystemRequirements.pdf

More resources on Dynamics Ax 2012 can be found on TechNet, http://technet.microsoft.com/en-us/library/hh272863

One thing that I would like to point out to begin with is my blog post about the collation of the two databases that we work with during the upgrade. Both the source and target databases need to have the same collation so the bulk copy function works. This is due to the SQL class library in the .NET framework only can copy data between two identical databases and when you think of it that is quite normal.
I have as well received some good advises from other Dynamics Ax professionals:

·         Clean the source data base before bulk copy
·         Make sure that the shadow tables are created correctly before the upgrade process
·         Consider the performance and the power required to perform the data upgrade. Setting up an replication server might be needed not to disturb the live system.

·         Use the Security Upgrade Tool - Security Upgrade Advisor Tool User Guide [AX 2012] , http://technet.microsoft.com/en-us/library/hh394895.aspx

Jeremy Parr-Morley, LinkedIn profile
·         Syssetuplogtable needs 'version no' set to your version of AX4. It was blank on ours.
·         You may find some deleted users need to be reinstated.
·         The upgrade docs suggest to write code to transfer custom fields across, I found it easier to just add them to the 2012 database. The migration tool will find them and move the field content.
·         The AX2012 user running the migration needs to be admin on the AX4 database.
·         The code upgrade is somewhat a straightforward process

With that said I say to you, “Happy upgrade planning” and more information to become later in part 2. 

Comments

Popular posts from this blog

Dynamics 365 for operations – Table extensions

Background Extensions are a new way to add functionality and custom code to the D365 system without changing the standard code. In fact, Microsoft has announced that edit standard elements like those that we have done in the past will not be possible after 2017. By using extensions, we can achieve the same result by simply extending the standard system => EXTENSIONS. To read more about the difference between overlaying and extensions follow this link https://ax.help.dynamics.com/en/wiki/customization-overlayering-and-extensions/#extensions Extending tables By using table extensions, we can create a new table that adds new fields, field groups, indexes, mappings, relations, methods, subscribe to event handlers and more. When extending tables we need to follow the naming rule as such: <TABLENAME><_Extension> the compiler understands the _Extensions suffix and knows that the table in question is extending a table from the standard system. This gives us access ...

Plug-able Authentication in Microsoft Dynamics AX 2012

I have worked in many projects involving the Enterprise Portal for Ax ranging from version 2.5. One of the biggest issue for the end customer/user has been the ability to have a plug-able authentication for EP. This has been an issue for example for customers that have other portals based on Share Point as well as custom build ASP.NET web sites. All these portals are able to share the authentication with Single Sign On, SSO. But until now with version 2012 of Ax this has not been possible since earlier versions of Ax have only supported Windows Authentication. So in scenarios where you implement an EP site for a customer that has other portals and uses for example forms authentication, if you are not running Ax 2012 you have to have a special/dedicated log-on to EP. One of the biggest advantages is the fact that now external users do not have to be in Active Directory mixed up with all the internal users or located in an extra AD repository with all the administrative IT work l...

Remove HTML code from strings

When you work for example with the presentations DAX adds some HTML comment code to the text stored in the database. This can cause the text on the web to be displayed in incorrect format. This also takes up space in the database and makes the database file grow larger. <!--AXAPTA  MarginWidth="0" MarginHeight="0" WebletName="WebLet700062029" Type="WebPageWeblet" -->TEXT There is a nice X++ function: just call Web::stripHTML( string ), which will return the string without the HTML tags