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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Report print Posted Sales Credit Memos - Error on orderlines

(1) ShareShare
ReportReport
Posted on by 12
Hi,
We experience that when printing Posted Sales Credit Memos, the report also includes lines from other Sales Credit Memos.  And it also summarises the line amounts from the other orders as well.

In the Word-report we have tried 3 different scenarios to solve the problem:
  • Edit the original line-table by delete the table contents and then put in the XML-lines in the table again.
  • Copying in Table from another company report. (that we know is working in the other company)
  • Delete the table and create new table from scratch.
Is there anyone who have experienced this or know how to solve it?
It must be fixed in the Report Dataset and not in the Report Layout.
But we don't know what to edit in the Report Dataset.
 
 
This is from the Posted Sales Credit Memo: 2 lines.
 
And this is from report print:
 

  


 
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    27,611 Super User 2026 Season 2 on at
    hi
    I hope this can help you or give you some hints
    BR
    GR
  • JA-27040859-0 Profile Picture
    12 on at
    This link has no answer to the error 
  • Suggested answer
    Valentin Castravet Profile Picture
    32,800 Super User 2026 Season 2 on at
    Is this a custom report, or a report you customized? Its hard to say what's wrong with it without seeing the changes you've made to the report. The easiest fix would be to take the out of the box credit memo report and customize the layout from scratch to match your changes.
     
     
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    102,811 Super User 2026 Season 2 on at
    Do you mean that when printing A Sales Credit Memo, the row of B or C Sales Credit Memo will be printed? But Header is A?
    This looks like an issue with customized reports, please contact your partner.
     
     
    Thanks.
    ZHU
  • JA-27040859-0 Profile Picture
    12 on at
    additional info:
    - It is a custom report
    - the client has 3 different environments and the same problem happens for all of them now.
    - The reports were fine a few weeks ago, and we haven't been editing them. So we suspect that our client has done something.
     
    in the report print:
    - The first two lines is correct and belongs to Sales Credit Memo A (K10023) 
    - Line 3 and 4 belongs to the next Sales Credit Memo B (K10024)
    - Line 5 belong to the Sales Credit Meno C (K10025), and this was the last created one when I printed K10023 
                   - Now there has been created a new Sales Credit Memo K10026, and the line from this one also occur as the 6.line when printing K10023 now.  
  • Suggested answer
    YUN ZHU Profile Picture
    102,811 Super User 2026 Season 2 on at
    This is obviously a customization problem, please contact your developer or partner to check the code.
    And it looks like the DataItemLink property of Line's DataItem is incorrect. Normally this problem would not occur. . .
     
    Hope this helps.
    Thanks.
    ZHU
  • JA-27040859-0 Profile Picture
    12 on at
    Here is what in the code:
     

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 548 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 417 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 377 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans