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

Announcements

News and Announcements icon
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 343

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
    239,684 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
    343 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
    305,643 Super User 2026 Season 1 on at

    Hi Srihari,

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

  • Srihari.molaka Profile Picture
    343 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
    305,643 Super User 2026 Season 1 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
    343 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,813 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 668 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 630 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 581

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans