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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans