Hi experts,
I'm using NAV11.
I have a codeunit exposed as webservice. and I have a global function it takes order number a parameter.
Then it posts that "Sales Order", I also want to print that document to print.
I have selected printer in "Printer Selection" setup, also I used specific report ID to print but it gives this Error. I also can't print document as PDF.
It seems that you should not add your code in that function to print the document make it separate, only post the sales order and exit so that it can send the correct message that your order is posted. I would suggest make a separate function to handle the printing.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156