Import layer model(s) into new model store

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

For a given layer, import the files for the layer model into the new model store by using the AxUtil command-line utility.

For developer documentation about code upgrade in Microsoft Dynamics AX 2012, see the downloadable code upgrade white papers. See also Inside Microsoft Dynamics AX 2009, Chapter 18: “Code upgrade,” pp. 623–644.

Importing a layer model into the new model store

Complete the following steps to import a model.

  1. On the source system, export all models for the current layer by using the AxUtil export command-line utility. For example, to export the USR model, type the following command:

    AxUtil export /model:"USR Model" /file:"UsrModel.axmodel"
    

    For more information about the AxUtil export utility, see the Help for AxUtil. Type AxUtil /?.

  2. On the target system, import all models from the previous step into the new model store by using the AxUtil import command-line utility. For example, to import the model from the previous step into the MicrosoftDynamicsAX model store, type the following command:

    AxUtil import /file:"UsrModel.axmodel" /db:MicrosoftDynamicsAX
    

    For more information about the AxUtil import utility, see the Help for AxUtil. Type AxUtil /?.

  3. After you have imported all models for the current layer, continue with the next steps in the Model code upgrade checklist. Then, return to this step when you are ready to import the models for the next highest layer.

    Important

    You must first import the models that Microsoft owns. You can then import the remaining models one at a time, starting with the lowest layer.

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).