Creating Data Packages in Dynamics 365 Finance and Operation (AX)

 

Learn how you can create data packages to export and import from one AX environment to other AX environments.  AX States (and Canadian provinces) will be the test data used for the data packages.

Note: Ensure dependent data has been first imported or created.  For instance; countries must first exist prior to state being imported.

    1. In the company you wish to export the data package from, navigate to Data management from the workspace:Dynamics AX
    2. Within the data management workspace select the export tile:Dynamics AX
    3. Give the export job details the following:
      • Name – StatesExport
      • Target data format – EXCEL
      • Entity name – States
      • Select fields – Importable fieldsDynamics AX
    4. Click the Add entity button
      The states mapping will be added on the right.  The framework buttons; select as create recurring data job, apply template, job history and download also become available for use after the mapping.
    5. Select the export button in the top left action pane:Dynamics AX

      The following info log will generate:

      Dynamics AX

    6. Click close:
      The info log message will display in the top right:Dynamics AX
    7. Select download package in the action pane at top left:Dynamics AX
    8. Select yes to the info log message:Dynamics AXAX will export the data package, then select open:Dynamics AX

      There will be 3 files in the zipped data package:

      • two .xml files
      • one .xlxs file hat contains the exported detailsDynamics AX

      Life Cycle Services – Prepare the data package for upload to another AX environment.

    9. Log into life cycle services:Dynamics AX
    10. Under the menu bar, select Configuration data manager:Dynamics AX
    11. Select the Add button in the Configuration and data manager area:Dynamics AX
    12. In the Upload data package file slide bar, give the package name a unique meaningful name, we will use: 01a_States_02
    13. Select add a file button:Dynamics AX
    14. Browse to and select the compressed zipped data package file previously downloaded:Dynamics AX
    15. Click upload button:Dynamics AX
    16. Click confirm button to confirm the data upload to life cycle services:Dynamics AX

      Apply (Upload) data package to a different AX environment:

    17. Within Life cycle services select the confirmed added data package and click the apply button:Dynamics AX
    18. Select the environment to apply the data package to, in this sample AX Demo:Dynamics AX
    19. Select the company within the environment in which to apply the data package to:Dynamics AX

      After the data package has been applied to the new environment, log into that environment, select company and navigate to the data management workspace.  Under the import area (this time), review the imported data or review any errors in the staging data area or review the import under job history.

      Dynamics AX

      To summarize, these steps explain how to export data from one environment.  Load into life cycle services the selected desired destination environment and finally upload to the destination.

原文地址:https://www.cnblogs.com/lingdanglfw/p/15338569.html