NAV 2013 R2 - Sales Invoice - Post and Print in PDF

PanzeriElenaPanzeriElena Member Posts: 21
edited 2014-10-17 in NAV Three Tier
NAV 2013 R2 - Sales Invoice - Post and Print in PDF

Hi all, we need to post sales invoices and print it direclty in PDF, not as paper report.
As work around, we set the PDF printer as PC default printer, so when we post and print an invoice, NAV creates direclty the file in PDF format. We are not able to set PDF printer as default in all our PC, so is there a way to set in the report or in some codeunit the type of print to do when we post an invoice?
Thank you by advance for your availability.
Elena

Comments

  • PoltergeistPoltergeist Member Posts: 200
    Use saveasPDF or the printerselections?
  • PanzeriElenaPanzeriElena Member Posts: 21
    In which point I have to use SAVEASPDF function?
    Thank you,
    Elena
  • geordiegeordie Member Posts: 655
    Hi, you need to customize codeunit 82 adding in PrintReport function the call to REPORT.SAVEASPDF statement where REPORT.RUN is originally called.

    Daniele
  • tinoruijstinoruijs Member Posts: 1,226
    I upgraded my NAV to NAV 2015 last week.
    Now I use the Email-button on the sales invoice.
    So first I post all invoices without printing and after that per invoice I use Email.

    I think this is what we've been waiting for in standard NAV for a long time when it comes to sending pdf's.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • PanzeriElenaPanzeriElena Member Posts: 21
    Thank you Daniele for your support and thank you tinoruijs for the good news!!
Sign In or Register to comment.