Dynamics AX Musings

Dynamics AX Musings
  • Easy Automated Builds - Part 3

    In Part 1 , we discussed installing the custom activity DLLs into TFS so the build controller and agents can use them. In Part 2 , we reviewed where the default build workflows reside in TFS and where we want to inject or Dynamics AX specific activities...
  • Easy Automated Builds - Part 2

    In Part 1 we looked at installing the TFS custom activities into the source tree, telling the build controller where to find the DLLs. Finally we also made sure Visual Studio can find our DLL files so we can edit workflows. One of the major updates between...
  • Easy Automated Builds - Part 1

    I'm glad to announce updates to my Dynamics AX Admin Utilities , including a brand new build library. It's been in use here at Sikich for quite a while now, and with our latest modifications I'm glad to release the binaries (although as always...
  • How We Manage Development - Automated Builds

    It's been a while so it's about time I continue the "How We Manage Development" articles. If you missed it, I wrote about our architecture of TFS and Dev machines and how we organize TFS projects . Although we continuously adjust our...
  • What You Need To Know About the 15-minute CU7 Compiler

    If you hadn't heard yet, CU7 has been released for AX 2012 R2. Lots of things to get excited about (comparing reports anyone?), the thing I'm most excited about is the new compile optimization. We did a lot of work in the past to identify the...
  • Linq to AX Example using WPF

    Today I decided to investigate and blog about a feature I haven't tried since the beta of AX 2012 R2: the Linq connector. I do a quite a bit of C# work regularly, not related to AX, and Linq (along with WPF) is one of my favorite frameworks. So combining...
  • XLNT - A Most "Excellent" Framework for X++

    Although demonstrated and praised quite a few times by Master Obi-Wan Villadsen and his team , the XLNT framework is still a little-known framework that contains a lot of power. So much so that the static code analysis (aka "Customization Analysis"...
  • Auto-Deploying DLLs and Other Resources - Part 2

    In the first post of this series on deploying resources, I discussed the framework and some of its issues we'll have to deal with. In this article, we'll actually write the code to support that article. Note that I also posted an " intermission...
  • Custom Query Range Functions using SysQueryRangeUtil

    You've probably seen these requests before. Users want to submit some report or other functionality to batch, and the query should always be run for "yesterday". It's a typical example where, as a user, it would be handy to be able to...
  • Auto-Deploying DLLs and Other Resources - Intermission

    I posted part 1 of the auto-deploying DLLs and other resources article last month. Although I will finish the part 2 article as promised, an interesting comment and subsequent email discussion / testing has prompted me to include this "intermission"...
  • R2 Hotfix for Compile Time needs Schema Update

    Just a quick note on the hotfix that was released quite a while ago to improve compile times on R2. Many blogs including the official Microsoft one linked directly to the hotfix, and many people have installed it immediately with no result. What many...
  • Dynamics AX Admin Tools - CodeCrib.AX.Config

    Yesterday I released code libraries and a wrapper PowerShell cmdlet libraries to automate installs of AX and maintain client and server configurations for AX. I also blogged an example of an installer script to have an automated install of an AX 2012...
  • Dynamics AX Admin Tools - CodeCrib.AX.Setup

    Long overdue for release, I'm glad to announce the first beta of my admin tools. These tools are still a work in progress, but you can start taking advantage of these right away. As you probably know, we have open sourced our TFS build scripts for...
  • Auto-Deploying DLLs and Other Resources - Part 1

    In my article on .NET Assembly Deployment in AX 2012 we reviewed how assemblies are deployed for Visual Studio projects as well as the CIL generate for X++. However, there are several scenarios one can think of where you want to deploy files outside of...
  • Mixing Dynamic and Static Queries with System Services in AX 2012

    In the "old" blog post about using WPF connected to the query service in AX, we talked about consuming a static query and displaying the data set in a WPF grid. The goal there was to be able to whip this up very quickly (10 minutes?!) and I...
  • Dynamics AX 2012 Compile Times

    As I'm sure most of you are aware, compile times in Dynamics AX 2012 are a concern with more functionality being added. Especially on our build environments, which are (non-optimized) virtual machines, we are looking at around 3 hours for AX 2012...
  • Exception Handling in Dynamics AX

    Exception handling in Dynamics AX is a topic that is not discussed too often. I figured I would provide a quick musing about some of my favorite exception handling topics. Database Transactions Exception handling while working with database transactions...
  • Performance Info from Convergence 2013

    This week at Convergence, I attended several sessions (and actually moderated an interactive discussion session) on performance in Dynamics AX. As expected, customers and partners showed up with specific questions on issues they are facing. Out of the...
  • Convergence 2013

    For those of you waiting on the continuation of the TFS series - please be patient. Next week is Convergence and a lot of time and energy is being put into preparing both our Sikich company booth (#2437) and material, as well as the Interactive Discussion...
  • How We Manage Development - Organizing TFS

    In the first post , I presented an overview of how we have architected our development infrastructure to support multiple clients. In this article, we will look at how we organize TFS to support our projects. Team Foundation Server contains a lot...
  • How We Manage Development - Architecture

    With all the posts about TFS and details on builds etc, I thought it was time to take a step back and explain how we manage development in general. What infrastructure do we have, how does this whole TFS business work in reality?! Let me take you through...
  • AX 2012's Hidden Compile Errors

    This post title caught your attention huh? Well, it should. For about half a year or longer now, we've been struggling with a strange issue with AX 2012 compiles. We finally found more or less what the issue was, but were unable to reliably replicate...
  • Fixing code caching on AX environment copies

    Copying AX environments and their databases is a fact of life. You need data refreshed, you want an exact replica to troubleshoot something, or you just need a good copy to do training or testing on. Cloning environments and database is fairly easy and...
  • Multi-select on form datasource grid : MultiSelectionHelper

    In Dynamics AX it has traditionally been somewhat cumbersome to iterate the selected records on a form datasource. The main issue is that there is a difference in iterating depending on how and what the user has selected! For example, I have a simple...
  • Test-Driven Development in AX 2012 - Intro

    As much as we all like our product of choice (Dynamics AX) and our jobs ( developers, developers, developers, developers ), we have to admit one thing: our Dynamics AX industry's professionalism in software engineering principles is at its infancy...