Saturday, June 13, 2015

Export Data from AX 2012 - using DIXF (Data Migration Framework)

Importing is a well known task using DIXF, but at times we do need to export as well and then import it back in AX 2012. The export task can be done with the help of this information.

Define the format of your source data

  1. Open Data Import/Export Framework > Setup > Source data formats.
  2. Click New, enter a name and a description, and then select AX from the Type list.

Define a processing group to export data from Microsoft Dynamics AX

  1. Change the company to CEU.
  2. In Data Import/Export Framework, click Common > Processing group, and then click New to create a new processing group.
  3. Set the group name to Export-Cust and add a description.
  4. Click Entities to select the entities to include in the processing group.
    1. In the Select entities for processing group form, click New, and then, for an entity name, select Customer.
    2. In the Source data format field, select the Microsoft Dynamics AX source data format that you created.
    3. Click the Select button, and then in the DMFCustomerTargetEntity form, on the Range tab, for Field, choose Created date and time, and for Criteria, enter > 9/1/2007, and then click OK.
    4. Close the Select entities for processing group form.

Process data from source to staging

  1. In the Processing group form, select the Export-Cust group that you created, and click Get staging data.
    The Create a job ID for the staging data job form opens.
  2. By default, an ID for the job is generated. If needed, you can modify the ID and add a description. Click OK.
    The Staging data execution form opens.
  3. In the Staging data execution form, click Run.
    The Get data from source to staging form opens.
  4. In the Get data from source to staging form, click OK to run immediately.
    The source data is copied to the staging tables.

Validate the data in staging

  1. In Data Import/Export Framework, click > Common > Processing group > Execution history, and then select the job that ran.
  2. Click View staging data.
  3. Review the staging data to validate that it matches the source.
  4. Click Validate all to verify that all the related reference data is correct and present in the system.

Export the data to a file

  1. In , click > Common > Processing group, and then select the processing group to work with.
  2. Click Export to AX, enter a file name, and then click OK.
    A .dat file of the data identified by the processing group is created.

No comments:

Post a Comment