Run custom code Microsoft Dynamics Ax 2012

In previous versions we used the RunBuff() method to run configured scripts. This is not allowed when you run in CIL.

There is a simple work around as there is new class: XppCompiler

http://msdn.microsoft.com/en-us/library/xppcompiler.executeex.aspx

A small sample is shown below:

static void Job12(Args _args)

{

XppCompiler compiler = new XppCompiler();

source source = strFmt("anyType runMethod()\n{\n  return %1\n}\n", 'today();');

;

compiler.compile(source);

test = compiler.execute();

}

The execute permission should of course been added as well.

Performance boost Data Migration Studio on Ax2012

The Business Integration Solution from To-Increase can be used to manage your data migration projects in Microsoft Dynamics Ax 2012:

  • Your requirements
  • Your documentation and mappings
  • Your files / messages
  • Your dependencies

In this blog I will highlight how to setup dependencies and still perform.

Continue reading

Migrate products and released items in Ax 2012

Product and item management is heavily changed in Ax 2012. The functionality is extended like:

  • Global product management
  • Release products to local items
  • Cross company setup for master data

The technical design of Ax 2012 is also changed. These changes have a lot of impact on the entire design. It’s using table inheritance, record id relations and so on. In this blog I will highlight how to import items using the Data Migration Studio. All the items are validated using the business rules to avoid inconsistency.

Read below how we get an impressive result.

Continue reading

Business Integration Solution

Think about data sharing, cloud and application integrations. There are unlimited possibilities to receive a better value using your data.

Our Business Integration Solution on Microsoft Dynamics Ax 2012 is designed to fit that gap. We have a strong focus on:

  • Data migration
  • Application Integration
  • Electronic data interchange
  • Mobility

As data migration to Microsoft Dynamics Ax 2012 is a challenge and you and others are struggling with this, I will start with an introduction to this part.

Continue reading

Introduction data migration process

Data migration is an important part of an implementation project as most of the implementations are a replacement of the current ERP-system. One of the reasones can be for large international companies who want to use one ERP-system for all their legal enties. One application can make financial reporting and intercompany transactions easier.

As you may know, Microsoft Dynamics Ax 2012 is designed for global industries as it serves 36 countries with specific country support. It supports topics like:

  • Global items
  • Global addressbook
  • Global financial dimensions
  • Global teams
  • Intercompany transactions
  • and of course a lot more

An ERP implementation project requires a lot of knowledge about processes and how to map that to the application. That will raise the question: What will data migration add to the implementation project?

Continue reading

Import default dimensions to the customer (custTable) in Microsoft Dynamics Ax 2012

In Microsoft Dynamics ax 2009 and older we had a dimension field available for the dimensions for customers or items, Microsoft has chosen to introduce a new data model to support more flexibility with endless possibilities.

There are multiple ways to create the dimensions. In this blog I just want to highlight how this can be done via X++. There are posts available to the AIF services but it’s not required to use them.

In the post below I show how the dimensions can be used in combination with the ledger accounts.

http://www.van-veldhuizen.eu/blog/2012/01/18/importing-the-daily-journal-in-microsoft-dynamics-ax-2012/

The dimensions for customers can be managed in a similar way.

Continue reading

Importing the daily journal in Microsoft Dynamics Ax 2012

During a data migration project the the following two topics should be imported:

  1. Open balances for vendors
  2. Open balances for customers

The data model in Microsoft Dynamics Ax 2012 has been changed. Also the daily journal is changed.

http://dc196.4shared.com/doc/2VrFxKd5/preview.html

In this blog I will try to explain how to use the ledger accounts and dimensions

Continue reading

Peformance issue while importing Bill Of Materials

In manufacturing companies you can have a lot of Bill Of Materials (BOM). When the Bill Of Materials are created for an integration to PLM or CAD systems or during data migration, the total of lines can be more than a million.

When you import the data into Microsoft Dynamics Ax, it can happen that the import will be slower and slower and slower.

Continue reading