Sending email via SMTP using X++ and .NET Framework in Dynamics AX

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 from within your local network.
Continue reading

Some reports in Dynamics AX 2012 do not fit to page properly when printed

While working with AX 2012, I’ve observed that some reports will not render as expected when a hard copy is printed. With the release of Microsoft Dynamics AX 2012 RTM (6.0.947.0), the report design and delivery platform changed significantly from the previous version. Reporting has shifted away from native X++ reports designed in MorphX to SSRS reports designed in Visual Studio.
Continue reading