Using the Cross company feature from the Business Connector.

In Ax 2009 the new cross company feature was introduced. It allows the programmer to specify a container containing strings denoting company names to the crosscompany hint: container c = [‘dat’, ‘dmo’];select crosscompany: c * from custtable where custtable.Name == “Jones”; That is all very well in X++, of course, but how do you handle…

1

The Enterprise Portal team introduces new blog…

The EP team has just created a blog about their stuff. These guys know their stuff, and are heavy users of managed code interoperability with X++. Check it out at http://blogs.msdn.com/epblog/.  


Using graphics in forms and legacy reports.

Let’s face it – The forms and reports in Dynamics Ax are pretty bland. They’re very good at presenting information grouped in logical ways, but the information presented is invariably in the form of numbers and strings. The further you get up into the decision hierarchy the less the decision makers are concerned about details:…

3

Caveat: Using the += and -= operators for dates.

As you may know, it is possible in X++ to add integers to dates. The semantics are that the integer value is considered a number of days to add or subtract to the date.{    Date d;    // …    d = d + 7; // Seven days later    // …    d…

3

Missing values: getting the System.Missing.Value value

When dealing with office integration scenarios and when calling APIs that are based on old COM interfaces, there  is a need to specify that a value is not provided. The notmal way to do this (say, in C#) is to use System.Reflection.Missing.Value Now, as it happens, Value is not a static property, as one might expect,…

1