AX 2012

DAXRunBase 2012

Hi Friends!

Since Microsoft Dynamics AX 2012 is now booming, it is time to share some interesting features, problems and solutions for this exciting new product which is already out in the wild on the DAXRunBase blog.

In future posts I am planning to cover ways of using the Team Foundation Server and build automation, show tricks that can make everyday development a bliss, introduce using PowerShell and AxUtil during your everyday life and a lot more.

I really hope you will find the following posts useful, and a thumbsup in comments always helps to keep me motivated =)

Cheers
Vilmos Kintera

By |2015-11-23T17:56:10+01:00August 13th, 2012|Categories: Microsoft Dynamics AX|Tags: , , |0 Comments

Image resources in reports

When I was playing around with images and resources in AX, I have found that Menu nodes have an AOT property called NormalImage. On this property you can provide a file name which was imported into AX under the Resource node, so your module would have this image shown in the Main menu.

But when you want to use the resource in a report, the kernel does not associate your custom image with a resource ID, and you also do not have a property similar to the menus.

The only solution that you have is to add a Bitmap control to your report, then read out the data that is being stored under the node and return the container as a Bitmap value. Here is the code:

(more…)

By |2015-11-23T17:56:58+01:00August 18th, 2010|Categories: AX 2009, AX 2012, Microsoft Dynamics AX|Tags: , , , , , , , |2 Comments

Label search with an exact match

If you are trying to look up a label under the menu Tools/Development tools/Label/Label editor, the search string matches your label string with a wildcard.

For search strings like “item” it might display many hits, and takes a lot of time to get the results. But if you enter the label on an object property and you do the lookup there, an exact match search is executed.

If you take a look on \AOTClassesSysLabel::searchStringBuildExactStr(LabelType _searchString) you can find the solution there as a macro.

If you use the same search term, then you will get an exact match:
“<item>”

(more…)

By |2015-11-23T18:01:32+01:00April 14th, 2010|Categories: Microsoft Dynamics AX|Tags: , , , , |3 Comments