Enterprise Portal – titlebar issue

  • June 21, 2010
  • 2 Comments

When you modify the PageTitle property of a new Page Definition to a label with a ‘special’ character in it. You will see that the title is not rendered well. For example when you use a é it will be rendered as &#233. I logged this case with Microsoft and for the moment there is no […]

Enterprise Portal – strange behaviour with date-picker

  • June 18, 2010
  • 1 Comment

Have you ever experienced the following symptoms in the Enterprise Portal: click on a date picker (the date picker is shown) click outside the date picker (the date picker is hidden) finally, you re-click on the date picker Result: you see the message ‘Loading data’ and a ‘error on page’ message appears in the bottom […]

System tables – part1

  • May 3, 2010
  • 0 Comments

In this post I will talk about some Ax kernel tables that are automatically created after the setup at the first run of Ax. They are typically company independent (no DataAreaId) and contain some valuable information about AX. You can find the tables I wil discuss under the AOT –> System Documentation –> Tables. AccessRightsList […]

Batch job performance boost

  • April 22, 2010
  • 0 Comments

Did you ever have trouble with the performance of your batch-job? Well maybe this small trick can shorten the time your batch runs. The big idea: Try to split up your gigantic batch in smaller pieces. Launch a batchjob that produces many smaller batchjobs (tasks) that can handle a subset of the data you need to […]

Expressions in query ranges – limitations

  • April 9, 2010
  • 2 Comments

When you want to construct a query-object that contains OR-conditions, you can construct something like this: 1 2 3 4 5 6 queryBuildRange.value(strFmt('((%1 == %2) || ((%1 == %3) && (%4 == "%5")))’, fieldStr(InventTable, ItemType), any2int(ItemType::Service), any2int(ItemType::Item), fieldStr(InventTable, ProjCategoryId), queryValue("Spares")));queryBuildRange.value(strFmt(‘((%1 == %2) || ((%1 == %3) && (%4 == "%5")))’, fieldStr(InventTable, ItemType), any2int(ItemType::Service), any2int(ItemType::Item), fieldStr(InventTable, […]

Test if a configuration key is enabled in X++ code

  • March 22, 2010
  • 0 Comments

How do you execute code when a Configuration key is enabled? It is pritty easy. Ax x++ has a build-in function ‘isConfigurationKeyEnabled’, witch you can use to check a configuration key. Small example: if (isConfigurationKeyEnabled(configurationkeynum(AIF))) { // Do something… }if (isConfigurationKeyEnabled(configurationkeynum(AIF))) { // Do something… }

List of mandatory fields on a table

  • February 22, 2010
  • 0 Comments

When you want a list of all the mandatory field on table X, yould check all the properties on the table fields, or you could be lazy and write a small job that does the trick for you. Just replace TableId with your tablenum. 1 2 3 4 5 6 7 8 9 10 11 […]

Microsoft Dynamics AX 2009 Development Cookbook

  • February 21, 2010
  • 0 Comments

Just like my colleague Klaas Deforche, I am now reading the ‘Microsoft Dynamics Ax 2009 Development CookBook‘ published by ‘Packt Publishing‘ that was published December 2009. It is a verry good book to look up a problem and find the correponding solution. TOC: Preface Chapter 1: Processing Data Chapter 2: Working with Forms Chapter 3: Working […]

Code Editor – shortcuts

  • February 20, 2010
  • 0 Comments

Underneed you find the list of shortcuts I use most in Microsoft Dynamics Ax while developing. General (shortcuts I also use outside AX) CTRL + S : Save. CTRL + C : Copy text to clipboard. CTRL + X : Cut text to clipboard. CTRL + V : Past text from clipboard. CTRL + A : […]

Working with numbersequences – On forms

  • February 18, 2010
  • 0 Comments

When you want to implement NumberSequences in a Ax form (new numbersequence when you create a record etc.) you can just implement the ‘numberSeqFormHandler’. Step-by-step: