Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

issue with printing Purchase Order

Posted on by 261
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 261 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 69,639 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 771 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 261 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 22,181 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 261 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 22,181 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,146 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 771 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

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,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans