-
Dynamics Ax composite queries
Hi all, Currently I’m working on a new Dynamics Ax 2012 project and for that I’m developing a lot of list pages and forms. For these I had to make multiple menu items that open a list page with different filters, you can do this by setting the menu item query property or calling a class which calls the form with…
-
MS SQL Server performance with Dynamics Ax
Hi, Lately I’m working on some projects who experience a bad performance in Dynamics Ax. This can have multiple causes but one of the most important is maintaining the SQL Server. In my humble opinion every Dynamics Ax developer should have a basic knowledge on how SQL Server works and is maintained because it is…
-
Dynamics Ax RunBase overriding dialog with a Form
Hi, Some time ago I’ve found out that you can implement a form into a RunBase dialog, this has the advantage that you can easily use a grid control, etc… or use modified field methods without using controlMethodOverload() method. You can do this by overriding the dialog method and adding the following code. You can…
-
Dynamics Ax printing logo’s from batch
Hi, Edit Microsoft has released a fix for this problem contact support for this As all of you know the Image class in Dynamics Ax 4.0 and 2009 can only run on client. This poses a problem when you want to print for example invoices with your company logo on it. Having this found out…
-
Dynamics Ax Reports with Calibri font
Hi, A customer of mine asked me to change the font of some reports to Calibri. It all went well until we saved a report as PDF, there was way too much spacing between characters. After some days of investigating and contact with Microsoft I’ve found out that it worked on a Windows Server 2008…
-
Dynamics ax take screenshots from FormControls
Hi all, Here is a little code snippet for you to take screen shots within a Dynamics Ax client. This snippets uses the size of your control and the position on your screen to create the screenshot 🙂
-
Dynamics Ax printing from the AOS
Hello, This post will be all about printing from printers that are connected on the AOS instead of the client. First up is installing a printer on the server thats hosts the AOS services. Next is configuring the client and server as shown in the next screenshots: In the printer setup you should now be…
-
Dynamics ax unknown software exception
Hi, Ever had this error “The exception unknown software exception (0xc0000417) occurred in the application at 0x00a13c18”. Solving it is easy, just erase the .AUC files in the folder: C:\Documents and Settings\Current user\Local Settings\Application Data Or for Windows 7 / Windows server 2008 users: C:\Users\Current user\AppData\Local
-
Dynamics Ax SQL Trace
Hi there, here is a simple job to enable SQL tracing for all your users, this quite handy for optimizing queries. (The macro’s for modifying other fields on the UserInfo table can be found on the ClassDeclaration of the SysUserSetup form.) Make sure that client tracing is enabled in the server configuration. (Only use this…
-
Dynamics Ax RunBaseBatch multithreading
Hi, Next post will be a little tutorial on how the RunBaseBatch framework can work multithreaded. For example in the SalesFormLetter class on the method run, the following code will be found before the query iteration: The SalesFormLetterEndMultiThread that is being created will be called when all threads connected to that bacth are processed, this…