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...
Answered

issue with printing Purchase Order

(1) ShareShare
ReportReport
Posted on by 422
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
  • Verified answer
    Hatimali84 Profile Picture
    422 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
    85,674 Super User 2025 Season 1 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,143 Super User 2025 Season 1 on at
    issue with printing Purchase Order
    Hello,
     
    What about printing using the default layout (Standard Purchase Order (Word)?
  • Hatimali84 Profile Picture
    422 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
    28,288 Super User 2025 Season 1 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
    422 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
    28,288 Super User 2025 Season 1 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
    7,969 Super User 2025 Season 1 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,143 Super User 2025 Season 1 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans