Ax2009 Event Processing Error

  • February 22, 2012
  • 2 Comments

I have a customer that gets a error every time the EventJobCUD-batch (Change Based Events) runs. They got the following error: After some reseach I found out that when 2 fields are changed at the same time, you go several times through the listChangedFieldsEnumerator (location ClassesEventProcessorCUDprocessUpdate) 1 2 3 4 5 6 7 8 9 … Continue Reading

Change the language at runtime

  • November 30, 2011
  • 0 Comments

Normally when you change your language you go to your user options, change your current language and the restart the client. This week I got the question if it was possible to do so in runtime. You can do so by just calling the infolog.language(str 7 _languageCode). All labels that you load after calling this … Continue Reading

Amount in words

  • November 28, 2011
  • 0 Comments

This week one of my customers asked me to place the amount in words on a invoice. I couldn’t believe that sush function wasn’t availible in standard Ax. After some research I found that the Global-class contains the following methods: static TempStr numeralsToTxt(real _num) static TempStr numeralsToTxt_EN(real _num) static TempStr numeralsToTxt_ES(real _num) static TempStr numeralsToTxt_FR(real … Continue Reading

Portal development

  • January 31, 2011
  • 1 Comment

While surfing the web, I came across a blog from 2 friends (Youri De Brabandere and Christof Decraene) about Enterprise Portal development. For the moment they have only a few posts, but I’m sure their will be more soon. Have fun with the http://www.axepclipboard.com.

Ax Security got lost

  • October 7, 2010
  • 0 Comments

At one of the customers I’m currently working they took the decision to take a look at the spaghetti of security keys. We made a plan of how the new basic security-structure should look like and implemented it. After releasing this new more logical security structure we started to get the message ‘%2 %1 not … Continue Reading

Where are breakpoints stored in Ax 2009

  • September 27, 2010
  • 0 Comments

In Ax 2009 breakpoints are stored in 2 tables, the SysBreakpointList and the SysBreakpoints table. You can find those tables in the SQL Management Studio or in the AOT under System Documentation -> Tables. This is useful to know when you get ‘ghost-breakpoints’. My debugger started showing me older breakpoints from classes that were running … Continue Reading

Enterpris Portal – Tips & Tricks (part1)

  • September 9, 2010
  • 0 Comments

Ilearned something new from my colleague Koen Van Hauwenhuyse. He showed me 2 extra querystring parameters you can add tot the portal URL so the content will be shown different. The normal Url of the page: http://***/TSTReplacement.aspx?WCMP=TST The Url for the rolecenter-view of the same page: http://***/TSTReplacement.aspx?WCMP=TST&RUNONCLIENT=1 The Url for the same page without any … Continue Reading

How to make methods on fields disappear (aka a bug)

  • August 5, 2010
  • 4 Comments

Me and some of my colleagues are currently working with a customer on a Ax 2009 SP1 RU4. The other day we came to the conclusion that the modified methods on fields in a form suddenly disappeared. I know, you should write as less as possible code on a form, but sometimes there is no way … Continue Reading

Records with RecId 101090

  • August 4, 2010
  • 2 Comments

I was using the postload method of the HRMBenefitType-table to fill the description-field with language-sensitive description (from LanguageTxt). This works fine when I view the record, but not when I use a lookup. I’ve put a break-point on my postload method and noticed the recId (this.recid of the HRMBenefitType table). This is always the 101090. … Continue Reading

Enterprise Portal – titlebar issue (part 2)

  • June 25, 2010
  • 0 Comments

While I was checking my previous Enterprise Portal titlebar issue, me and my colleagues found a second bug. When you use a single quote (‘) in the PageTitle, the name of the Page Defenition object is displayed instead of the actual label with the singel quote. We couldn’t find a solution yet, but we’re still looking. Anyone … Continue Reading