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

Community site session details

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

issue with printing Purchase Order

(1) ShareShare
ReportReport
Posted on by 562
Hi all,
We are having an issue with a purchase order print for one vendor only. There are few other purchase order for the same vendor and we are able to print but for this PO, whenever we print, it crashes BC and we get this error. 
 
Is it only happening with this PO, everything else is working fine. 
 
I have also checked all the document layouts and compared them with other vendors, all same. 
 
This is the filter setting we have and it is same for all other PO's
I have the same question (0)
  • Verified answer
    Hatimali84 Profile Picture
    562 on at
    issue with printing Purchase Order
    Hi All,
    The issue is resolved. 
    The problem was with the PO Lines. There were 2 special characters in the description which were causing the print to fail. 
    I had checked all other PO's and they were printing as expected. It was only this 1 PO which was causing print issue. 
    The custom report and extensions were working as expected. 
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    92,443 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    Hi, This report uses a custom layout. Are there any other extensions?
    If you uninstall the extension and use the standard layout file without any problems, please check your report extension code and layout file.
     
    Thanks.
    ZHU
  • Suggested answer
    Yi Yong Profile Picture
    2,429 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    Hello,
     
    What about printing using the default layout (Standard Purchase Order (Word)?
  • Hatimali84 Profile Picture
    562 on at
    issue with printing Purchase Order
    I ran the report with other formats as well and getting the same error. 
  • Valentin Castravet Profile Picture
    29,519 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    Did you test to see if it happens with a different report/layout when printing the same PO no.?
  • Hatimali84 Profile Picture
    562 on at
    issue with printing Purchase Order
    Its only happening with 1 PO. 
     
    the error on telemetry is not very helpful 

    AL ErrorCode:Xml:TargetInvocation Connection type:WebClient Message: StackTrace:
  • Suggested answer
    Valentin Castravet Profile Picture
    29,519 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    Agreed with Yi Yong, it seems like an issue with the custom report. To test, you can try printing the same PO with an out of the box report/layout that comes with the system. If there are no issues, that will confirm something is wrong with the custom report. 
     
  • Jun Wang Profile Picture
    8,182 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    what happens if you print PO by specifying a range that includes that po?
  • Suggested answer
    Yi Yong Profile Picture
    2,429 Super User 2025 Season 2 on at
    issue with printing Purchase Order
    Hello Hatimali,
     
    You are printing from a customized report. The design of the report may have run into problems with the data.
     
    You could try looking at the Admin Center's Telemetry to see if there is any clue.
     
    Otherwise, it will be best to seek help from the technical who designed it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,132

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,615

#3
Sumit Singh Profile Picture

Sumit Singh 2,912

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans