Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / My Query creates dupli...
Finance forum
Under review by Community Managers

Under review

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

My Query creates duplicates

Posted on by 177
Hi all,
I have the following Bug :( 


Background
I have added a lookup field to the LogisticsPostalAddress Form that is used to create addresses on a legal entity. The Site just contains Names of Sites:




After this I added a column to the OmLegalEntity form to show the Site related to each Address created.
 
I then added the Site table to the DirPartyPostalAddress Query

And the SiteName to the  DirPartyPostalAddressView

I am now able to see the SiteName in the address grid

My problem:
The address grid now shows the same address multiple times (one for each SiteName in my Site table).
I have confirmed that not duplicates is created in the database. So the problem seems to be somewhere ind my Query  Or the relationsships that I have created between tables.

I have tried Different kinds of joins and oneToN and OneToOne relationships. But the table Either shows the duplicates or no addresses at all.
 

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans