다음을 통해 공유


Import Microsoft 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 Microsoft application files, or .aod files, from the source system into the baseline model store.

For more information about how to upgrade code, see the white papers that are available at https://go.microsoft.com/fwlink/?LinkID=215083.

Importing Microsoft .aod files into the baseline model store

To import Microsoft .aod files into the baseline model store

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

  2. Copy the Microsoft .aod files 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 Microsoft AODs into the baseline model store dialog box, select the name of the layer file that you want to import. When you import layers, 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 for 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 the application objects that were not imported from your Microsoft Dynamics AX 4.0 or Microsoft Dynamics AX 2009 system. Export all of 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. Continue with the next steps in the AOD code upgrade checklist.

    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 baseline model store