TFS workspaces in AX2012
I originally wrote the previous article – Shared vs. isolated Dynamics AX environments – primarily as an introduction to this post and to be able to refer to it. It provoked unexpected amount of...
View ArticleMissing check-in
An opinion I encounter relatively often is that a disadvantage of isolated development environments of Dynamics AX is in the fact that if one developer forgets to include an object in version control,...
View ArticleReceivedFault is not marked as serializable
Last week I needed to use a third-party web service in AX2009. I created a service reference in AOT, so AX generated necessary code and configuration and I was immediately able to get data from the...
View ArticleBox class
I still see a lot of X++ developers calling the Box class in code that is used in database transactions. It may cause nasty problems – as I show in this post. Imagine code like this, used in some...
View ArticleAX compilation log parser
Dynamics AX allows you to export compilation output to a file (.html). The file can be imported back into AX and then you can work with compilation results in Dynamics AX application in the same way as...
View ArticleX++ words reserved for future use
The Best Practice Check in Dynamics AX complains if you use some words as identifiers, because they may be used as keywords in future releases. For example, if you name a variable namespace, you’ll get...
View ArticleTeam Foundation Service and Dynamics AX
Microsoft just turned status of its hosted Team Foundation Server from Preview to Released and encourages everyone to try it. It’s not the first hosted TFS, but it’s both free (with some limitations)...
View ArticleQueries to tables with inheritance
Table inheritance is an interesting feature of Dynamics AX 2012 allowing to model type hierarchies in database in a way similar to object modeling. Dynamics AX allows not only to define inheritance in...
View ArticleMemory profiling
Dynamics AX offers many ways how to call .NET code, use .NET GUI components and so on. That’s absolutely fantastic – it gives us easy ways to reuse existing .NET types and frameworks or simply to write...
View ArticleCombine XPO and corrupted files
Few days ago my night build of a Dynamics AX 2009 application stopped working correctly. Some objects were missing in the built layer, which of course caused many compilation errors. It occurred that...
View ArticleAX + LINQ + WPF
All technologies mentioned in the title – Dynamics AX, LINQ (Language Integrated Query) and WPF (Windows Presentation Foundation) – are quite complex and it may sound strange to mix them together. But...
View ArticleBaseline model store database
In AX2012 R2, model store database has been separated from business data database. For upgrade purposes, we have one more database – baseline model store. AOS configuration in Windows registry...
View ArticleAX2012 Windows 8 App Developer Starter Kit
Microsoft just launched an open-source project called Dynamics AX 2012 Windows 8 App Developer Starter Kit. As its name suggests, the project is about developing Windows 8 applications that communicate...
View ArticleReceivedFault is not marked as serializable
Last week I needed to use a third-party web service in AX2009. I created a service reference in AOT, so AX generated necessary code and configuration and I was immediately able to get data from the...
View ArticleAX2012: Subqueries in views
Dynamics AX 2012 supports computed columns in AOT views. That allows you to convert a value of a field in some way, to actually compute a value based on several fields and so on, and it’s all defined...
View ArticleAX2012 Windows 8 App Developer Starter Kit
Microsoft just launched an open-source project called Dynamics AX 2012 Windows 8 App Developer Starter Kit. As its name suggests, the project is about developing Windows 8 applications that communicate...
View ArticleX++ to CIL
Dynamics AX 2012 is able to generate Common Intermediate Language from X++. That allows much more code running in Common Language Runtime and switching between X++ runtime and CLR can be greatly...
View ArticleEmpty startupCmd in AX2012
Recently I had some troubles with one AX2012 environment – startup commands simply didn’t work. AX client started, but that was all. Debugging showed that startup() method in Info class didn’t receive...
View ArticleDynamic method despatch in X++
X++ is statically typed language, right? Still, sometimes we need to use it in a dynamic manner… The most common case is the need to call methods defined on a form. You can’t do it with static types –...
View ArticleHodge-podge – 04/2013
This new “series” is intended to briefly mention various topics that I find interesting and/or useful, but they’re too short for a separate posts. I don’t currently want to spend more time with them or...
View Article