Also as there is a free course by famous Jeffry Richter about what is special in cloud that can be recommended to developers who want to get familiar with cloud concepts.
Microsoft Dynamics Ax developer's blog
Thursday, August 31, 2017
New cloud architecture guides
Also as there is a free course by famous Jeffry Richter about what is special in cloud that can be recommended to developers who want to get familiar with cloud concepts.
Wednesday, May 17, 2017
Friday, July 10, 2015
DAX 2012 toolset
Wednesday, November 19, 2014
Static code analysis using XLNT
I have written a small example of static analysis for X++ based on that technology http://1drv.ms/1u9Rs8x
It detects code patters that are likely to be copy-and-paste errors (when somebody copies code but forget to change something in a copy) like:
case X: some code
...
case X: some code
if (x) {
y
}
else
{
y
}
Tuesday, July 30, 2013
How to become an axapta administrator with powershell
Friday, April 27, 2012
Did you know, that you can drag and drop from debugger?
Previusly, I used copy and paste from "locals" or "watch" windows and it looked like there:
which is more compact and comfortable representation.
Monday, April 09, 2012
Code folding in ax 2012
Monday, February 06, 2012
DEV_Toolbar: tabax for Ax2012
I am sharing a tabax successor for Ax6 as an example of usage WPF control.
The form uses standard tab control from WPF with a custom template.
Also you can use it as an example of event handling.
The code has a problem which I can not resolve now: if you press a middle or right mouse button on a tab, vontr scrolls to the start - so you can accidentially close wrong tab. Now the workaround provided: if such event occured, event handler uses selected tab instead of tab under click
Tuesday, October 04, 2011
Tuesday, July 12, 2011
XRef–> DGML
Just updated my old sample to produce DGML in addition to .DOT, so now you can view cross-references in VS2010 interactively (filter, rearrange so on). For example picture above shows relations of LedgerVoucherObject.check
Download the job from SkyDrive:
Thursday, June 30, 2011
Tabax successor as an illustration of new dev features of Ax 2012

For some reason I've recreated some subset of tabax in Ax2012. I think it can be an illustration of some new Ax2012 features
Since I have no time for debugging learn winapi in deep I decided to use .NET framework as much as possible.
The most magic part of tabax for me is the code that creates and manages tab control to add images and change size of tabs. That code was written by AndyD from AxForum.
but...
now we have a managed host control and can just use any .NET control we want. I decided to use tab control from WPF.
I took Expression Blend and created my own template for control and implemented several templates for tabs (for example, in the screenshot above you can see blue gradient on editor tabs and darker blue gradient on selected tab related to X++ editor).
After that I copied template as avery big string to X++ method and just loaded it in ManagedHost control.
Since Ax 2012 supports events and they are seamlessly integrated with .NET there was no problems with reacting to user actions.
In addition I've found an example of drag-and-drop for tabs and translated it to X++ - now I can reorder tab pages by dragging them.
As a result I have just one form that uses only plain vannila .NET framework (no custom DLLs) all logic is implemented in X++, visual design is stored in 1 big string literal inside X++ form
Monday, November 01, 2010
the future of F#
They are extending application with "type providers", which allow to extend static type system of F# with dynamically generated types withoun explicit code generation - by implementation of a very simple interface.
I think it can be useful techique to implement business platforms such as LightSwitch (when it come to C#) - LightSwitch authors can just implement type provider for entities and do not generate very much intermediate code.
PS. I think there is aplso enteresting how easy Don manipulates various data in F# interactive
Friday, October 29, 2010
How to open a form in a running Ax client from an external application
I recalled there is a similar thing in Ax (since version 4.0) – when you receive an event alert message you can click an a link and go to the corresponding alert.
The idea was to reuse alert handling code as much as possible. And I achieved that without changing Ax code at all.
How alert links work?
1. When you start Ax32.exe, it runs the EventDrillDownPoller class, that creates a named pipe with name like “Dynamics\Event\0S-1-5-5-0-686394” (you can use pipelist utility from the SysInternals suite to obtain exact name of your named pipe) where
- Dynamics\Event\ – is a constant prefix
- 0 – is a value from the “Drill Down target” field in the “Basic\Setup\Alert\Alert parameters” form
- S-1-5-5-0-686394 – is a user system session ID
You can look at \Classes\EventDrillDownPoller\scheduledPoll code to see the details.
2. When you click on the link in e-mail, axhlink.exe protocol handler is executed, it parses url and connects the named pipe obtaining it’s name using “Drill down target” from url and current session id. Then it writes a command to the named pipe.
3. When timeout handler (which was subscribed to the times in 1.) detects there is a new message in the pipe, it just runs a SysStartupCmd and then recreates a named pipe (see \Classes\EventDrillDownPoller\scheduledPoll – unfortunately it uses the current company to detect a drill down target, so if you have different values of the field in different companies ad user changes the current company, you can see it recreating a named pipe with a different name – it can cause mistakes)
So the task is pretty simple
- Create an autorun startup command configuration file
- Connect to the named pipe using session id and provided drill down target
- Write a zero terminated Unicode string with a startup command to the pipe
Contents:
- C# sources of sending a message (command line utility that takes startup command and drop target ID)
- XML file example
- XPO with modification for autorun startup command code, adding a parameter to navigate to a specific record (that was additional requirement – it takes table and recID attributes)
Tuesday, August 24, 2010
Saturday, June 05, 2010
Data/Control flow
I draw Data-Control flow diagrams for better understanding of some process in code. It looks something like that:
Legend:
- ---> – control flow
- ==> data flow
- Ellipsis – method
- Rectangle – data storage
- Rectangle with rounded corners – class
- If ellipsis is located on the border of a class – it is a public method
Such diagrams help me later to understand place of some piece of code in some process in system.
It is critical not to draw unnecessary details on a diagram and stay focused on the current task, in other case a diagram will be unreadable. For example diagram in this post is near the edge of readability – lots of intersections are signs of it.
Monday, April 05, 2010
Interesting videos on Vimeo tagged Dynamics Ax
Tuesday, February 23, 2010
Book review: “Microsoft Dynamics AX 2009 Programming: Getting Started”

See the book description on the publisher's site: "Microsoft Dynamics AX 2009 Programming: Getting Started"
When I've received the book, I first thought about beginning of my experience with Ax: in 2003 I worked with BAAN and planned to become a developer for Ax 3. I have decompiled developer's guide and best practice chm, downloaded it to my Sony SL10 and read it for month or two in the Moscow subway during daily commute. I can recall some difficulties I've met and I expect from every book for beginners to go beyond Dev Guide and BP describing these particular areas.
I think the main two topics to learn for every Ax developer are:
- Dynamics Ax development platform
- X++ code that implements business logic
Historically, platform was the more clear area docs, but has some dark corners, but business logic was less documented and the knowledge transferred mostly from the code itself, more experienced colleagues, and online communities.
So I tried to search for following topics:
- Links to external information sources such as MSDN, Partner Source, internet communities
- Data access (Ax have a very specific SQL implementation)
- Forms layout
- Business logic patterns
- Tools and techniques to extract information from X++ code
BTW one of the book reviewers, Harish Mohanbabu, is known by his blog and free Ax tools.
First, the book contains list of online resources links related to Ax, such as blogs, axaptapedia, official sites, so on. The only thing I wish to add it to explain what partner source and what customer source are, and how to get access – it is very frequent question from newbies.
Database manipulation is described in several chapters, the description is easy to understand, full of example screenshots and can be useful for new developers, but I missed description of union joins (which is new to Ax2009 and I haven't seen much usage in the existing X++ code)
Forms-related information is shown mostly by example; you should refer to developer's guide for more detail. I think, it should be better to provide more information on different form layout templates, and some existing form patterns. Anyway, I think, a novice programmer can learn basic form structure prom the chapter and can use some more advanced techniques such as splitters and edit methods.
There are some chapters related to most frequently used business modules, such as inventory, ledger and accounts receivable/payable, each starting with small entity-relationship diagram of basic tables with examples of using Ledger posting framework, adding new dimension, etc..
The topic about tools contains example of usage of cross reference with screenshots, but profiler and trace parser have not been mentioned.
So these were topics that I was interested in due to I remember I had problems with, when I started to learn Ax.
In addition there is lots of information related to:
- Other platform areas (such as X++ basics, AOT nodes, architecture, File export and import), which have not caused learning problems for me but maybe can cause to other novice developers.
- Parts of platform I have not used (Application Integration Framework , Enterprise Portal, Webservices) - so I cannot say anything about them
The book contains an example of car rental module (with full sources in xpo's). Chapters of the book describe corresponding pieces of example code and I think it's a good manner to write books for developer.
I definitely recommend the book for novice developers as a good addition to manuals that go with the product and msdn.
Monday, September 28, 2009
fedotenko.info
Dennis has a great reputation in Russian Ax community, and now he translated some of his articles to English.
Tuesday, September 22, 2009
San Diego
Это тоже не стоит транслировать на акфорум :)
Thursday, July 30, 2009
Mental framework
Review of the book “Managing your supply chain using Microsoft dynamics ax 2009”
After about 5 years of Ax development I’ve recognized that the model of Dynamics Ax functionality which I have in my brain is like photosynth – some areas, I worked with, covered by consistent pictures, but others are represented by random shots without high level overview.
The majority of existing materials about Ax – like trainings, documentation, so on, use “hands on” approach – little introduction and very detailed description using screenshots, particular sequences of steps in term of buttons, etc.
So I feel that there is a gap between short intros of documentation and very detailed contents (for example Russian docs contains of 2 volumes >1000 pages each).
That’s why I was very interested when Dr. Scott Hamilton sent me kindly the book, which was written to give “mental framework for putting together the details” learned from various sources . So below are my impressions.
The book contains 426 pages, and most of them are text description of Ax functionality: no screenshots, no concrete steps – just text, tables and business process flowcharts. Thus, the information density is quite high.
The book consists of 15 chapters, each dedicated for some functional area. All chapters are in scope of SCM (you can see TOC at Amazon). Each chapter contain description of a functional area, case studies and executive summary.
New features of Ax2009 (such as sites and purchase requisition) are reflected.
What I like about the book
- The book met my expectations about abstraction level it have no redundant details, which can be obtained from products docs and training, and contains enough for making mental model of SCM modules.
- There are lots of tables showing how ax behavior depends on parameter combinations – it helps to understand the space of different implementation scenarios.
- As I mentioned before the most important features of ax2009 are described
What can be done better
- Some case studies are very brief – I’d prefer to include more detailed business scenarios and more implementation details. (But maybe I should read some book about common business practice instead – could you recommend me such a book?)
Overall impression
I’d buy the book if I haven’t one. I recommend it for everybody who want to have a consistent view of Ax SCM functionality.
PS. there is also a new book by Dr. Hamilton - Managing Lean Manufacturing using Microsoft Dynamics AX 2009