AX – D365FO – Create a Data Entity

Open Visual Studio and create a new Data Entity item “DataEntityTest”

A Wizard will opens. Choose the primary data source (i.e. VendTable). Click Next

Choose the fields you want to show in your data entity. Click Finish

Data Entity, Security Privileges and Staging Table will be created

If you set “Is Read only” to No the data entity will be valid only for Exporting data and not for import. Otherwise set value to Yes to be able to import data to the VendTable

Staging table must be generated. You can do it by right clicking Data Entity and click on “Regenerate staging table”

Synchronize database and Build the solution

Now you have to Refresh data entity to make it visible in Data Entity framework in D365FO.

Open D365FO, go to System Administrator, Data Management

Click on Framework parameters

Switch to Entity settings and click on “Refresh Entity list”. Wait until job will finish. It will take some times.

After job has finished you can search your Entity by clicking on Data Entity Tile and search the entity

Now you have to Map the Staging table fields with target Entity

Go to Data Entity, search the entity and click on “Modify target mapping”

Click on “Generate mapping”

If you click on “Mapping Visualization” you’ll see the mapping.

For convenience I have entered only one field (AccountNum)

3 responses to “AX – D365FO – Create a Data Entity”

  1. AX – D365FO – Create a Data Entity to export all Vendor Contact informations (Emails, Phones, etc..) – AX / Dynamics 365 For Finance and Operations Avatar
    AX – D365FO – Create a Data Entity to export all Vendor Contact informations (Emails, Phones, etc..) – AX / Dynamics 365 For Finance and Operations

    […] First create a Data Entity (to do this read my article : https://d365ffo.com/2021/06/29/ax-d365fo-create-a-data-entity) […]

    Like

  2. D365FO – CREATE A DATA ENTITY – Cairo Dynamics Club
  3. Farman Avatar
    Farman

    Hi,

    Hope you are doing well. This blog is very helpful. I think you made mistake here. If ‘IsReadOnly’ property of Data Entity is Yes, you can use only export feature of Data Entity. By Mistake you have written that you can import data as well if IsReadOnly is Yes.

    Like

Leave a reply to D365FO – CREATE A DATA ENTITY – Cairo Dynamics Club Cancel reply