Monday, 13 November 2017

Developing a custom DIXF entity in Microsoft Dynamics AX 2012

Go to Data Import Export Framework module and click on “Create a custom entity for data import/export” in the Common section.
001
A new wizard will open. Click next.
002
In the next screen you will be asked to choose a table for which the DIXF entity needs to be created.
003
In our case we selected VendBankAccount.
004
In the next screen the Entity Table Name, Entity Query Name, Entity Class Name will be automatically filled. You will need to select the Display menu item name based on the entity you selected and click next.
005
Select the fields you need. You can mark them to select some of the fields or click on Enable All to select all the fields and click next. 006
Click finish to complete the wizard.
007
After some time of processing AX will automatically create a Private Project which will contain all the objects related to your custom DIXF entity.
008
NOTE: You have to ensure your DMFstaging table has a primary index including the fields DefinitionId, ExecutionId and the primary key of the target table.
Also check if the DMF staging table has a relation with the target table on your primary field. This might be your problem.
Check e.g. the relations on an existing DMF staging table.
Go to Target Entities Form. Click new and select the new custom entity from the lookup.
009
Give the Entity name and click save. 010
You custom DIXF entity has been created.
011

No comments:

Post a Comment

POSTMAN D365

  Postman is useful to test the behavior of different OData class from/to D365FO. In this post we will see the steps to setup Postman with D...