Skip to main content

Notifications

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

Company Picture on Invoice with 400 pages crashes

(1) ShareShare
ReportReport
Posted on by 10

Hello Together

We are using NAV 2017 and want to print the company logo on every page on the invoice.
Now when a big invoice comes, in my example 400 pages, the invoice loads forever and at the end gives the error "Output rendering for report failed. Error: report processing error."
I calculate the image using CALCFIELDS in the OnPreReport() event.
The image is passed as a field and in the RDLC I create an Image
Image Source: Database
Use this MIME type: image/bmp

Now I removed the logo and the invoice could be created. However, an invoice without a logo is not so professional so not a permanent solution.

Do you have any tips on how to get the logo on the report without it crashing on large invoices?
Somehow it must be possible to print the logo for large reports.

Thanks for the answers :)

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    RE: Company Picture on Invoice with 400 pages crashes

    Hi, It sounds like your company logo has been looped too many times (for example, looping together with Sales Line?). You can refer to the standard code to add an Integer DataItem and let it loop only once, which will increase the efficiency a lot.
    In addition, if the Company Logo does not change, you can directly add the Company Logo as a background image to the RDLC file.

    Hope this will help.

    Thanks.

    ZHU

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans