Friday, 5 November 2010

AX - Table Maps

Maps in AX allow you to wrap tables at runtime. In other words, they allow you to map multiple table fields and share methods. One of the more popular ones is the AddressMap.
The concept of Maps are great in AX but can be confusing at times.
Check the msdn article: http://msdn.microsoft.com/en-us/library/bb278211.aspx

One of the gotchas that experienced developers know about is. IntelliSense wont show the map. You have to type it in.
custTable.AddressMap::formatAddress();
ie. [table].[map name]::[method to call]

No comments: