Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Company Picture on Invoice with 400 pages crashes

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 70,099 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans