Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

issue with printing Purchase Order

(1) ShareShare
ReportReport
Posted on by 338
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
    Hatimali84 338 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
    YUN ZHU 74,036 Super User 2024 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
    Yi Yong 1,450 Super User 2024 Season 2 on at
    issue with printing Purchase Order
    Hello,
     
    What about printing using the default layout (Standard Purchase Order (Word)?
  • Hatimali84 Profile Picture
    Hatimali84 338 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
    Valentin Castravet 24,910 Super User 2024 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
    Hatimali84 338 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
    Valentin Castravet 24,910 Super User 2024 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
    Jun Wang 7,443 Super User 2024 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
    Yi Yong 1,450 Super User 2024 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

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