web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DataEntity Error while build in D365FO

(0) ShareShare
ReportReport
Posted on by 339

Hi Experts,

I'm trying to create a data entity for one of the table. The table contains a primary key also.

I tried two ways to create it. 1) Right click on table and Add-In then DATA ENTITY and 2) Add new item to project >> Data model >> DATA ENTITY.

The Wizard is creating entity, staging and privileges but when I'm trying to build getting below errors,

DataEntityError.png

Please help to solve this errors.

Thanks and regards

Srihari.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    You didn't mention following the suggestion provided by the error message (building the package), therefore I assume you haven't done it. Please try it now.

  • Srihari.molaka Profile Picture
    339 on at

    Hi Martin,

    Thanks for reply.

    I tried build model and sync database but failed with same errors.

    Regards,

    srihari.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Srihari,

    Did the model build ended with errors? If so, you need to fix them first.

  • Srihari.molaka Profile Picture
    339 on at

    Hi Andre,

    Thanks for reply.

    When I perform a model build there is no error. If I use model build with Sync then I'm getting errors.

    Regards,

    srihari.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Srihari,

    The table you used for this data entity, is this a standard table or a custom within the same model?

  • Srihari.molaka Profile Picture
    339 on at

    Hi Andre,

    It is a custom table within the same model.

    Thanks and regards.

    Srihari.

  • ergun sahin Profile Picture
    8,826 Moderator on at

    Are you using Edt/Enum from different model? did you add the model to the references

  • Rahul Singh Rathod Profile Picture
    62 on at

    Hi Srihari,

    Include the staging table to the project. Build and synchronize the database.

    Check relationship setup on target table not on entity or stagging table level.

  • huijij Profile Picture
    19,811 on at

    Hi Srihari,

    The error "Failed to parse data entity view queries for following data entities" suggest to check the cardinalities of all the involved table relations.

    deepakkadajjid365fo.wordpress.com/.../

    regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans