Send PO in HTML format to Vendor After Approval

paul_navisionpaul_navision Member Posts: 64
Hi All,

I want the code for sending the HTML format of PO to vendor when a particular PO approved by Authoriser. Can anyone help me?

Regards

Paul
Dynamics Nav Functional Consultant

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi Paul,

    There are a number of solutions

    The easiest is to save the report to html with Report.SAVEASHTML command and then E-Mail with mail.newmessage (mail is codeunit 397)

    Most customer are not happy with the html solution as the layout can mess up. I would suggest generating the PO to pdf and then emailing it. If you look the the download section you will find a solution for this.

    Hope this helps
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
Sign In or Register to comment.