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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / What makes an entity, ...
Finance forum

What makes an entity, an orphan entity?

(0) ShareShare
ReportReport
Posted on by 20

When I create a custom entity, and refresh the entity list, it tells me that it is "orphan" and it is removed. What are the conditions for this entity to be marked as "orphan"?

Categories:
I have the same question (0)
  • Suggested answer
    Andrew Xu Profile Picture
    3,877 on at
    RE: What makes an entity, an orphan entity?

    Otto,

    This is because your target entity table in SqlDictionary has Flags value 0. And actually this is pretty normal, if there's not entity for that table before. To resolve this issue, you only need to synch the database in Visual Studio.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: What makes an entity, an orphan entity?

    This feature is included in latest releases , probably 8.0 or 8.1   where they check for entities/composite entities  in Definition group,  templates etc . If those entities are present in Definition group/data project and entity list but not present in SQLDictionary then those are marked as orphan and deleted from entity list. Check method removeOrphanEntities of class DMFDataPopulation more all the cases.

  • Martin Dráb Profile Picture
    236,124 Most Valuable Professional on at
    RE: What makes an entity, an orphan entity?

    Wasn't the entity deleted from AOT?

  • Otto Voss Profile Picture
    20 on at
    RE: What makes an entity, an orphan entity?

    The message in the environment:

    1) Entity List was successfully refreshed

    2) Orphan entities removed from DMFEntity table: "Entity Name" (custom entity name)

    I'll update this reply with the exact version of D365FO as soon as possible

  • André Arnaud de Calavon Profile Picture
    298,364 Super User 2025 Season 2 on at
    RE: What makes an entity, an orphan entity?

    Hi Otto,

    Can you share the full error message? What exact version of Dynamics 365 for Finance and Operations are you using?

    Probably you used some values for the Data entity properties PublicCollectionName, PublicEntityName or the label which are not unique.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans