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 :
Finance | Project Operations, Human Resources, ...
Unanswered

How can I add data sources to an extended data entity without increasing its records.

(1) ShareShare
ReportReport
Posted on by 148
Hi,
 
I have the EcoResReleasedProductV2Entity which has 15 records in a DataAreaId which I'm currently working on. I need to add 2 fields to that entity (ProductName, CategoryName) so I extended the data entity and added these 2 data sources: EcoResProductCategoryAssignmentEntity and EcoResProductTranslation. But when I add these datasources, it appears it takes all the records from within those data sources and it increases and duplicates the records in the entity I extended. 
 
So when I check the entity again, I dont have just 15 records, I have like 200K and more. I just need to add those fields with their proper value and that it shows acoordingly with those 15 records. How can I do this? I think it might be with how those data sources relate to the entity but don't know exactly how to configure it or change it.
 
Thanks in advance.

Here are the data sources: 
I have the same question (0)
  • GirishS Profile Picture
    27,827 Moderator on at
    How can I add data sources to an extended data entity without increasing its records.
    Hi Daniel,
     
    EcoResProductTranslation will have many records for same product in different languages. You can use EcoResProductSystemLanguage table will have product with current system language id. 
    So, try adding EcoResProductSystemLanguage table inside the DataSource of EcoResProductTranslation table and check.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    300,721 Super User 2025 Season 2 on at
    How can I add data sources to an extended data entity without increasing its records.
    Hi Daniel,
     
    It is al about setting the correct relations on the data sources. As mentioned by Girish, there can be multiple translations for a single product. One product can also have multiple category assignments. Instead of adding the data sources, you can also consider virtual fields: Computed columns and virtual fields in data entities - Finance & Operations | Dynamics 365 | Microsoft Learn
  • Daniel Mora Profile Picture
    148 on at
    How can I add data sources to an extended data entity without increasing its records.
     Thank you Girish and Andre for answering.
     
    Unfortunately, I tried both things and adding EcoResProductSystemLanguage table inside the DataSource of EcoResProductTranslation table didn't work, it also increased its records and also Product in the EcoResProductSystemLanguage is just a number, not the name and it doesn't have any field as Name. I even noticed that just the fact of adding the data source does this without me adding any field. So then, I tried adding a computed field as Andre suggested but it won't let me add a new method even though is an extension of the entity:

     
    On a side note, I don't know why the new updated forum won't let me reply directly to your responses.
  • GirishS Profile Picture
    27,827 Moderator on at
    How can I add data sources to an extended data entity without increasing its records.
    Refer to the below blog for adding an virtual field through extension.
    Thanks,
    Girish S.

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 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans