Wednesday, February 17, 2010

Change order of properties in AOT

If you would like to view the properties of objects in the AOT alphabetically, you can change the ordering in your user options in the Dynamics AX 2009 client. The option can be found under Tools | Options, tab page Development, field group Property sheet, Sort alphabetically

Define where static method should be executed

To define where a static method in x++ should be executed, you can use one of the keywords client, server or caller.

For example a signature could look like this:

server static boolean mymethod()

As far as i know, it is not possible to define this for instance methods (class- or table-instance-methods).

Address formats in Dynamics AX 2009

For international business it can be very important to use different address formats for customers. Microsoft Dynamics AX 2009 supports this in a very comfortable way. You can define address formats and link them to the countries for which you would like to use them.

The setup for the address formats can be found at the following path:

Basic | Setup | Addresses | Address format

Here you can create some address formats. On the Setup-tab you are able to define which fields should be part of your address format and which fields should be used in a new line ( so you are able to use the zip-code in one line with the city, for example).
Another nice feature is the wizard, which you can open with the Wizard-button on the setup tab. It allows you to define some of the most used formats automatically, you can choose for which countries / continents you want to create the addresses.

If you defined your address formats, you can assign them to the countries here:

Basic | Setup | Addresses | Country/region

The assignment is done in the column Address format

Just another Dynamics AX blog...

Hi together,
it's great that you are here on my new created blog.
Now you are surely asking yourself, what this blog is about and why it exists. As a consultant in the Microsoft Dynamics AX business i participated of different Dynamics AX blogs in the past.
So i decided to start blogging about some tricks, news and hopefully interesting things about Microsoft Dynamics AX.

In my daily work i am working in the consulting business, which means functional consulting on the one hand and some developing / customizing on the other hand... so i hope i can give you some useful hints.