In this post, I provide an example of how to import data into a general ledger journal. The included X++ code sample uses the Services framework to transfer and validate the GL data. The specific service used in this example is LedgerGeneralJournalService.Continue reading →

Occasionally, existing service operations might not be available for selection within the AIF configuration forms. This issue can occur with the standard document services provided by Microsoft and also with custom services that are newly created. The fix is simple and only takes a few minutes to complete.Continue reading →

I’ve encountered a particular “Method not found” error in Microsoft Dynamics AX 2012 which I’d like to share. In my case, the error appears to be related to the quirky X++ dangling semicolon. With the release of AX 2012, the syntax requirement to include a dangling semicolon within X++ methods had been dropped from AX development best practices. However, there appears to be at least one situation where it’s still required.Continue reading →

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 →

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 →

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 →

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 →

There are few absolute requirements when it comes to file naming conventions related to integrations. Other than producing unique file names within a directory, you can name files according to any scheme that is useful. When deciding on a file naming convention you might consider its ability to: