Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Report Batch Printing error

(0) ShareShare
ReportReport
Posted on by

A problem has been identified with a clients Customer Statements and Invoices. 

Most of the reports are 1-2 pages but occasionally there are 3 or more page invoices and statements. 

Three page statements are pulling header info for the next sequential customer in the batch while displaying the report content of the third page. 

This shifts the whole thing off and the rest of the reports are wrong. 

We can reproduce it every time an invoice or statement in a batch is 3 or more pages. 

Any insight on how to troubleshoot or where to look next would be much appreciated. 

I think the data being pulled incorrectly (the header and totals on the bottom) is using the Get\Set logic in visual studio where as the data that works (body of the report) uses the default style '=First(Fields!VAR_Message.Value, "DataSet_Result")'

Have you experienced this with a report before? 

Do reports need to use one or the other method to stay consistent? 

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Report Batch Printing error

    Which syntax Get and Set Data, No I don't there is any official documentation on that. If you look at report properties those are just functions returning the values.

  • RE: Report Batch Printing error

    The report has been customized. 

    The Get\Set method was added after the fact I'm guessing that's the culprit. 

    Are there any good resources online for using that syntax in report design? 

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Report Batch Printing error

    Rob,

    Are the reports customized, the issue could be on the code side or the grouping used on the table of the RDLC report. I think best would be compare it with standard report and check what has been modified.

  • Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Report Batch Printing error

    Is there any customization in reports ?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans