Layer change in MorphX VCS

I already posted an article about the same thing some time ago: Moving a model to another layer. The difference is that it was about Team Foundation Server, but this time I needed to move a model to another layer while using MorphX VCS. MorphX VCS doesn’t support synchronization, therefore my original approach can’t be …

Continue reading ‘Layer change in MorphX VCS’ »

Code in forms

Almost every Dynamics AX developer knows them rule that business logic shouldn’t go to forms, but only few take it at least a bit seriously. It’s surprising that although developers complain about slow and hard to maintain forms, it doesn’t induce then to do something differently. I believe it has several reasons: Programmers often don’t …

Continue reading ‘Code in forms’ »

Hodge-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 I just simply want to give you a link and I wouldn’t add any additional value. Compare 〈Dynamics AX〉 The …

Continue reading ‘Hodge-podge – 04/2013’ »

Dynamic method dispatch 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 – forms are technically instances of SysSetupFormRun class, which obviously doesn’t include methods you added to your …

Continue reading ‘Dynamic method dispatch in X++’ »

Empty 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 any command text at all: After some more investigation I noticed that it does work if I use another configuration file: The difference …

Continue reading ‘Empty startupCmd in AX2012’ »