Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Report returns duplicated rows

(0) ShareShare
ReportReport
Posted on by 15

I have a report generating a table with material and tool transfers for a chosen order. The rows get duplicated somewhere during the process. I've deleted the code in the report and the rows are still duplicated. The image shows that I have only two rows in the database for "Nr. Articol" (Item) = 1018265, but it is added four times in the report (Cod = 1018265).  Where should I look out for the problem?1321.Capture.PNG

  • Suggested answer
    vali98 Profile Picture
    vali98 15 on at
    RE: Report returns duplicated rows

    I've solved it!

    In the report, I had to set these properties in dataset designer:

          <Transfer Shipment Line>.DataItemLink = Transfer Order No.=FIELD(Document No.),Line No.=FIELD(Line No.)

          <Transfer Shipment Line>.DataItemTableView = <undefined>

          <Transfer Line>.DataItemLink = Document No.=FIELD(No.)

          <Transfer Line>.DataItemTableView = WHERE(In-Transit Code=CONST(TRANZIT))

          <Transfer Header>.DataItemTableView = WHERE(In-Transit Code=CONST(TRANZIT))

    The missing piece of the solution was Line No.=FIELD(Line No.).

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans