RunBase framework is used when we develop a class to run an operation within Dynamics AX, such as posting a sales order or used in any data manipulation operation. If we need to batch the operation, we will commonly use the RunBaseBatch framework by extending the RunBaseBatch class. Dialog for a class that extends RunBaseBatch…
Måned: februar 2016
Microsoft Dynamics Ax
Sending emails from Dynamics AX
by Bo Jensen •
It’s a common requirement to have Dynamics AX to send emails as part of the business processes such as delivering the invoice/statement to customers by email. Out of box Dynamics AX already has the framework provided in X++ classes for developers to send email using X++ code. There are currently three ways to do so…
Microsoft Dynamics Ax
How To: Directing Reports to Email
by Bo Jensen •
Dynamics AX 2012 Sharing reports via Email has never been easier. The following exercise outlines the process for developing a reporting solution that includes automatic distribution using Email without prompting the user for additional parameter information. Step 1/2: Create a session management class To send reports via Email from code you can use the new…
Microsoft Dynamics Ax
Run, Save and Email Purchase order report through X++ code
by Bo Jensen •
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…
Microsoft Dynamics Ax
How to send a report via email from Microsoft Dynamics AX
by Bo Jensen •
Hi all! Today I want to show you how to send a custom report via email from AX (it works with an AX client installation and it’s tested for Microsoft Outlook and Novell GroupWise).
Microsoft Dynamics Ax
Sending email via SMTP using X++ and .NET Framework in Dynamics AX
by Bo Jensen •
Sending custom email notifications is a very common requirement for Dynamics AX. The code sample included in this post contains the following features: attaching files, designating email priority setting, specifying To/From/CC recipients, and populating the subject line and body of the email. It’s assumed that you already have an operational SMTP server which is accessible…
