This post will show you how to open a web page from a menu item in the standard Microsoft Dynamics AX client. It includes a brief code sample with a step-by-step explanation of how to set up the menu item. Enterprise Portal is not required for this scenario.
Continue reading
Category Archives: 2009
Printing barcodes in Microsoft Dynamics AX 2009
This post demonstrates how to display data as a barcode within a report. Code sample and barcode font are included.
Continue reading
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
Debug::assert() method calls in SYS layer triggering Dynamics AX 2012 debugger
I’ve noticed a behavior in the RTM version (6.0.947.0) of Microsoft Dynamics AX 2012 that has been causing some problems for me lately. Specifically, there are some Debug::assert() method calls in the SYS layer that are being triggered in the application when running in a development environment with debugging enabled (client-side and/or server-side).
Continue reading