다음을 통해 공유


Import AOD files into the new 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 new 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 new model store

To import .aod files into the new model store

  1. Copy the .aod file for the current layer from the source system to the following folder: %ProgramFiles%\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\Application\Appl\Standard. Do not copy the .aod files for the layers that Microsoft owns into this folder.

  2. Some layers have been renamed in Microsoft Dynamics AX 2012. Rename the .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

  3. In the Import layer AOD into the new 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. However, do not import the layers that Microsoft owns into the new model store.

  4. Select the model that you want to import the .aod file into.

  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 this .xpo file into the Microsoft Dynamics AX 2012 system by clicking Import on the AOT toolbar.

  6. In the 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 layer file for the next layer. You can then import the remaining layers one at a time, starting with the lowest layer.

See also

Import label files into the new model store