Automated Data Entity Import Using DIXF in Dynamics AX

By Ramesh Singh | August 7, 2017

Automated data entity import using dixf in dynamics ax

Data Import Export Framework (DIXF) is available for various versions of Dynamics AX (AX 2012, AX2012 R2, AX 2012 R3 and Dynamics 365 for Operations). Refer to the Microsoft’s DIXF User Guide for instructions on how to install DIXF for your version of Dynamics AX.

Often times, DIXF is used for data migration projects, when the client needs their data migrated from the legacy system to Dynamics AX. Some common examples would be Master data – Custom, Vendor, Addresses etc., Open transactions – GL opening balances, Open customer invoices, Open vendor invoices etc.

But, there are more applications of DIXF than one-time data migration from a legacy system. Recently, I came across a scenario where I used DIXF for an automated integration. I was intrigued by finding that without any customizations, we can use out-of-the-box DIXF functionality to define a folder where new data files are dropped. DIXF can automatically pick up the files on a defined recurrence, process the data and once done processing, move the files to a ‘Completed’ folder.

Steps to setup automated Data Entity import using DIXF:

  1. Setup the ‘Processing group’

The first step is to setup the Processing group. Go to Data import export framework > Common > Processing group

Click ‘New’ to create a new Processing group. For example I created a new ‘Opening balance’ processing group for my scenario.

automated-data-entity-ramesh1

  1. Define Entities

Once you have defined the processing group, the next step is to define the entities that’ll be used to import the data into Dynamics AX. Click ‘Entities’ button on the ‘Processing group’ form.

automated-data-entity-ramesh2

Select the entities that’ll be used for importing the data. For example: I selected the opening balance entity.

There are many data entities available out-of-the-box. You can find the complete list here. If you can’t find an entity that you need for your scenario, creating custom DIXF isn’t a cumbersome task.

automated-data-entity-ramesh3

NOTE: You can either ‘Generate source file’ or ‘Generate source mapping’ by providing a ‘Sample file path’. Ensure your source mappings are completed and click ‘Preview source file’ to validate your data.

  1. Setup ‘Staging data execution’

The next step is to setup the ‘Staging data execution’ process for importing the data. Click ‘Get staging data’ button on the ‘Processing group’ form.

automated-data-entity-ramesh4

Provide a value for ‘Job ID’ and ‘Description’ and click ‘Ok’.

automated-data-entity-ramesh5

Set the following in the ‘Overview’ tab

Type: Directory this is used to specify that DIXF will look for new files in this directory to process.

Processing directory: – this is used to specify the directory where files will be moved when are being processed by DIXF.

Completed directory: – this is used to specify the directory where files will be moved after they are processed by DIXF.

Error directory: – this is used to specify the directory where files will be moved if any error(s) occurred during their processing by DIXF.

Execute target step: Checked – this is checked to automatically execute the step to copy the data from staging table to target tables.

automated-data-entity-ramesh6

  1. Setup batch process for automated import

The final step is to setup the batch process for doing automated import. Click ‘Run’ on ‘Staging data execution’ form.

automated-data-entity-ramesh7

automated-data-entity-ramesh8

Select ‘Batch processing:’, define ‘Task description:’ and ‘Batch group:’ and click ‘Recurrence’.

automated-data-entity-ramesh9

Define your desired recurring pattern. For example: I’m setting the recurring pattern to execute the process every 10 minutes, starting from 10:00AM on July 24th, 2017 and no end date. Click Ok.

automated-data-entity-ramesh10

This Infolog message will confirm that the batch process has been setup for your automated import process.

To view the execution history, Click ‘Execution history’ button on the ‘Processing group’ form.

automated-data-entity-ramesh11

Once the DIXF processes the file, the file will be moved to the ‘Completed’ directory and the data will be imported in Dynamics AX.

automated-data-entity-ramesh12

Now, all you need to do is just drop the new files in the defined folder and DIXF will do the rest to import the data automatically. 

Related Posts

Recommended Reading:

5.27.22 Dynamics GP

How to Run Drop Ship Sales in Dynamics GP

Need to Invoice the Customer before you get the invoice from the vendor? This The freight forwarder has contacted you […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Protecting G/L Accounts From Being Deleted

There are a lot of exciting New Features in Dynamics 365 Business Central 2022 Wave 1 Release to get excited […]

Read the Article
5.25.22 Financials

Rounding Numbers in Power Automate

  If you’ve ever tried to round numbers in Power Automate, you have probably already run into the issue there […]

Read the Article

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X