Share via


Import AOD files into the baseline model store

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

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

Import the .aod file for the layer that you want to upgrade from the source system into the baseline model store.

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 .aod files into the baseline model store

To import .aod files into the baseline model store

  1. On the server, create a folder that is named Old in the following location: %ProgramFiles%\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\Application\Appl\Standard.

  2. Copy the .aod file for the current layer from the source system to the Old folder.

  3. Some layers have been renamed in Microsoft Dynamics AX 2012. Rename each .aod file to the new name of the layer in Microsoft Dynamics AX 2012. The following table shows the names of the layers in different versions of Microsoft Dynamics AX.

    Microsoft Dynamics AX 4.0 layer

    Microsoft Dynamics AX 2009 layer

    Microsoft Dynamics AX 2012 layer (Rename to this)

    axbup.aod

    axbup.aod

    axisp.aod

    axbus.aod

    axbus.aod

    axisv.aod

    axlop.aod

    axsl3.aod

    axslp.aod

    axlos.aod

    axsl2.aod

    axsln.aod

    axdip.aod

    axsl1.aod

    axfpp.aod

    axdis.aod

    axhfx.aod

    axfpk.aod

  4. In the Import AOD files into the baseline model store dialog box, select the name of the .aod file that you want to import. When you import layer files, you must start with the lowest layer.

  5. Click OK to import the .aod file.

    If the .aod file contains items that cannot be imported, an Infolog message is displayed. For more information, see the log file referenced in the message. Usually, an application object cannot be imported because of one of the following reasons:

    • A method was added to a class that no longer exists in the Application Object Tree (AOT).

    • There is an ID conflict between two elements that have the same name and type, but different IDs.

    • You customized a hybrid class or a table that supports inheritance.

    To resolve these issues, identify all the application objects that were not imported from your Microsoft Dynamics AX 4.0 or Microsoft Dynamics AX 2009 system. Export these application objects to an .xpo file. Then import the .xpo file into the Microsoft Dynamics AX 2012 system by clicking Import on the AOT toolbar.

  6. In the AOD code upgrade checklist, continue with the next steps for the layer file that you imported. Then return to this procedure when you are ready to import the next layer file.

    Important

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

See also

Import AOD files into the new model store