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
Archives
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
System tables – part1
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 … Continue Reading
Execute a job on data in several companies – part2
In one of my previous posts I explained that you can switch company with the keyword changecompany. I also made a remark that you should set the value of your table-value to null after each changecompany. Small code example (bad): 1 2 3 4 5 6 7 8 9 10 11 12 DataArea dataArea; PurchTable … Continue Reading
Crosscompany
Yesterday I talked about executing code/getting records in several companies. Now the changecompany is not the only method. You can also get data out of several companies by using the keyword crosscompany in your select statement. Example: 1 2 3 4 5 6 7 8 9 Address address; container conCompanies = [ ‘cee’, ‘dat’ ]; … Continue Reading