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
Best Practices – Technical Best Practices for Dynamics AX
While surfing on the web about Ax Best-Practices I found the following link on Packt Publishing. I think this is a verry good list of things a Ax developer should do while programming. This article is a part of the book ‘Quality Assurance for Dynamics AX-Based ERP Solutions‘, maybe I’ll read it.
Enterprise Portal – titlebar issue (part 2)
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
Enterprise Portal – titlebar issue
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 é. I logged this case with Microsoft and for the moment there is no … Continue Reading
Enterprise Portal – strange behaviour with date-picker
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 … Continue Reading
Smart projects
Every Ax developer tries to group their code from one defect or one analysis in one project. Sometimes you try to maintain the AOT structure in that project through groups (don’t forget to set the property projectGroupType). What some developers don’t know is that project-groups have a property GroupMask. Here you can fill in a … Continue Reading
Belgian Dynamics Community – Connecttion Day May 27th 2010
The Belgian Dynamics Community is organizing a Connection Day (Tips & Tricks) on May 27th @ 18:30. I will attend the Ax-track. The Agenda: 18:30 – 19:15 General keynote track – Search Engine Optimization: 7 ways to get your web site to heaven Dimitri Op de Beeck, Sales Manager, Seltec A web site is not … Continue Reading
Dialog Extended
One of my colleagues (Koen Dedecker) was looking for a way to prevent user interaction with other forms while a certain dialog is shown. After some research he found the solution on the blog Dynamics AX tools and tutorials from Vanya Kashperuk. A few years ago (2007) he made a simple extension of the dialog class … Continue Reading
A few things you should know about temporary tables
How do you set a table temporary: You can set the property ‘temporary’ in the AOT to yes –> this table is always temporary You can declare a buffer of a table and call the method setTemp() or setTempData(), from that moment on the buffer contains temporary data. CustTable custTable; ; custTable.setTmp(); if (custTable.isTmp()) { … Continue Reading
The Ax Infolog
Wel all know the small dialog that gives the user usefull information about what is happening in Ax. In this post I will tell u some more about this. You can add information to the Infolog by calling: Infolog.add(…) info(…) warning(…) or checkfailed(…) error(…) You can add some structure in it by using setPrefix(…) Using … Continue Reading