About ERP Technician

Ashok (Ash) Kumar is a Microsoft Certified IT Professional (Dynamics AX) with extensive experience in ERP software development, business process automation, systems integration, data migration, and reporting.

CU12 for Microsoft Dynamics AX 2012 R3 is available for download

Cumulative Update 12 (CU12) for Microsoft Dynamics AX 2012 R3 is now available to partners for download in LifeCycle Services.  For new installations, the Cumulative Update 12 slipstream package can be added to your Dynamics AX 2012 R3 installation media folder.  For existing installations, the Update Installer for Microsoft Dynamics AX 2012 R3 allows you to download, analyze, and install the CU12 update.
Continue reading

Importing GL transaction data into Dynamics AX 2012 using X++ and LedgerGeneralJournalService

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

Populating missing service operations for AIF in Dynamics AX 2012

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

“Method not found” error occurs in X++ when calling static method of .NET class

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

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

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

File naming conventions for inbound XML messages passed to AIF using file system adapter

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:

  1. Identify a unique message.
  2. Classify messages by type.
  3. Process messages in a specific order.

Continue reading