Skip to content
Dynamics 365 Blog


Sending email receipts from Retail EPOS Transactions (AX 2012) 

There seems to be limited information on how the “Send email receipts” functionality works.  This blog is intended to help provide the basic information and links on how to configure and send email receipts for EPOS transactions. NOTE: For emailing MPOS receipts, see the following blog: Sending email receipts from Retail MPOS transactions To get started, you will...Read more

Emailing Customer Invoices from a batch 

This is an example of emailing the Sales Invoices with Print Management Settings and using a Batch Server. One of the prerequisites to email from a batch is to havean SMTP Server setup and running. This blog goes into the setup within AX, but does not cover the setup of the SMTP Server. The one...Read more

Memory usage in XppIL code 

Written some X++ which seems to have high memory usage when run in IL but runs normally when not in IL? Or just noticing high memory usage in servers running IL code? Here we’re going to talk about an aspect of garbage collection in XppIL that is important for anyone writing XppIL code to take...Read more

Running AX2009 batches with a recurrence of 1 minute 

So the issue here is setting a batch job to run with a recurrence of 1 minute in AX2009 – a server bound batch job. The job itself takes just a few seconds but the batch job isn’t completing for a few minutes, and so the next run doesn’t happen after 1 minute, it happens...Read more

How batch processing works under the hood AX2009 

In this article I am going to explain how batch processing in AX2009 works, I don’t mean how to set up a batch group or any of that kind of thing that you find in the manual, what I mean is what each AOS is doing in the background to decide how and when to pick up...Read more

AX for Retail: Import Logs operation fails when run in batch 

As part of the process to receive a purchase order from the POS client the Import Logs operation needs to run.  When performing an Import Logs operation in batch, the process will always fail.  The reason this fails is that one of the methods attempts to update the Import Logs form, which is not present...Read more

Batch tasks show no operation progress 

Recently I coded an AX 2009 server bound batch job using AOT\Classes\tutorial_runbasebatch and wanted to show the progress of the job within the Batch tasks form. I was using the common interfaces in RunBase and also RunBaseProgress and found that this is not increasing the Progress in the Batch tasks form. After a little troubleshooting I...Read more

How to run Client Batches on AX 2009 

In AX 2009 the batch engine has been changed to run as a service.The batch services do only process server batches they don’t process client batches aynmore. There might still be some situations where you would like to run client batches.The following description explains how to do this. Create a new batch group ‘Client’ which...Read more

Batch user has no permission to write a file 

I have a Class wich writes a File to a Network share (I also tried it local it was no difference). If I start the Class in my normal Client session, it works.But if I start it in a batch, the debugger opens and I get an Stack Trace Error.The Infolog means I have no permisson. This is because...Read more