Sending other documents as pdf

Sales Invoices , sales credit notes etc have nice feature which allows user to send email as attached as pdf but purchase documents are attached as html. How I can have the purchase documents attached as PDF as well? I am using NAV 2016, please help
United Kingdom

Answers

  • Sowkarthika
    Sowkarthika Member Posts: 102
    I guess you have to write your own function similar to 'Email records' function in Sales Invoice Header table.
  • Developer101
    Developer101 Member Posts: 569
    I think this will take a lot of customization as Purchase not supported anywhere down that route.
    United Kingdom
  • vaprog
    vaprog Member Posts: 1,163
    You should be able to easily clone it from Sales Document (See Codeunit Document-Print). Then, you just have to add the action to those pages you need it on.