Bojensen Blogs

Run, Save and Email Purchase order report through X++ code

Hi Friends,

In this post I will demonstrate how to do below through X++ code.

We will take Purchase order report as an example

1. Run a report
2. Save as PDF at local drive
3. Email this report
4. Delete from local drive after email.
To perform above task , create a new class and add below methods
To Run and Save Purchase order report through X++ code
To Email this report


Delete report file from your local drive
Now all you need is to call this class during confirmation of PO. Put your Feedback/question/Queries in comments.


Comments are closed.