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
Tag Archives: Code Sample
Opening web pages from menu items in Dynamics AX
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
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
Importing customers into Dynamics AX 2012 using AIF
This article will show you step-by-step how to do a basic customer import (including corresponding GAB and address data) using AIF in AX 2012. It’s assumed that you’ve already completed the basic setup necessary to create customers manually through the AX client user interface.
Continue reading