Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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 77,874 Super User 2025 Season 1 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

Quick Links

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans