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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Reporting issue duplication

(0) ShareShare
ReportReport
Posted on by 58
Hi All,
 
I'm new to AL development, and I'm having an issue where I have a report that seems to be duplicating some entries. I'm pulling data from both my Posted Sales Invoice Table and the Posted Credit Memo Table, and trying to combine them in to one Excel file for an end user who does pivots from there. The issue we're running in to is that there are significantly more credit memos than sales invoices. I think it is causing duplications for the sales invoice data per unique value of the credit memo data. I'm wondering if it is possible to to accomplish this? I may not be choosing the best option here, so any and all feedback is appreciated it. Thanks.
  • Suggested answer
    YUN ZHU Profile Picture
    103,829 Super User 2026 Season 2 on at
    I don't know how your report is developed. If you only need header data, you can consider using Customer Ledger Entries directly. There is a Document Type in it, which can filter out Invoice and Credit memo.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • OV-27040932-0 Profile Picture
    11 on at
    As ZHU mentioned it is a bit difficult to pinpoint the problem. I am guessing excel buffer build-up in wrong trigger...

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 728 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 545 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 328 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans