Dynamics Ax and the Internet of Things.

At the last technical conference, I ended by showing a little system that was designed to show the ease with which you can interface to modern IoT (Internet of Things) hardware directly from Dynamics Ax. I will go in a little more detail here than was possible in that short demo. The demo featured a…

1

Using EDT array elements from Proxies or from the .NET Business Connector for AX

by Peter VilladsenDecember 2013   The Microsoft Dynamics AX 2012 system allows an individual table field, in any one record, to contain multiple values. Typically this is done by creating an extended data type (EDT) that is an array type, and then using the EDT as the type for a field in a table. The…

1

Mathematical modeling for powerful ERP

by Peter VilladsenNovember 2013 In an area known as Operational Research (O.R.), there are many problems and solutions that are applicable to enterprise resource planning (ERP). O.R. began at the end of World War II. Initially it was used to solve logistical problems, and it has expanded to address a broad spectrum of problems. One…

0

Announcing the “AxErd” Website for Dynamics AX 2012

We have created about 30 database ERDs (entity relationship diagrams) for tables of Microsoft Dynamics AX 2012 R2.  The ERDs are useful to AX developers when they need to customize a given application module (such as Accounts payable or General ledger). The ERDs are part of our “AxErd” website, which can be reached at the…

9

X++ Arrays Behave Differently in .NET CIL, in Dynamics AX 2012

  1. Understanding the Difference   There has been some confusion about the behavior of X++ arrays in Microsoft Dynamics AX 2012, because the behavior can differ from AX 2009. Let’s clear up the confusion. In X++, you can assign an array of primitive integers to another array. This is shown in line 3:   …

0

X++ Function num2Str: Difference in .NET CIL Mode

SUMMARY: You cannot pass the value of -1 for the ‘decimals’ parameter to the num2str X++ function when the function is run in .NET CIL mode, in Microsoft Dynamics AX 2012.   Introduction   In Microsoft Dynamics AX 2012, some of your X++ code can run as either… A.      Traditional interpreted p-code, or now as…

0

X++ Deterministic Garbage Collection

Garbage Collection in Microsoft Dynamics AX 2012   This blog entry investigates issues concerning the deterministic garbage collection strategy that is employed in Microsoft Dynamics AX 2012.  The AX garbage collector (GC) is compared to the Microsoft .NET Framework GC, in both strategy and performance.  Background of the AX GC The basic strategy of the…

5

When to use Managed Code in Dynamics AX

 At a Dynamics AX conference in summer 2011, I was asked for guidance on when to use C# compiled to .NET Framework CIL, instead of traditional interpreted X++ compiled to p-code, in my Dynamics AX application. I will describe some deciding factors for you to consider. Some material presented herein is applies only to AX…

0

X++ Compiler Changes in Dynamics AX 2012

In Microsoft Dynamics AX 2012, we made compiler changes to make the X++ language more reliable and to prevent problems that may cause runtime errors.  1.  Super() cannot Call an Abstract Method Suppose an abstract method is implemented by a derived class.  If the method in the derived class tries to call super() to reach the…

3

New Option to Log X++ Max-Length String Truncation

In X++ you can optionally declare a string to have a specified maximum length:   str 5 maxLen5String;   Semantically, if you try to store more than 5 characters to this string, it will be truncated.   In March 2010 we blogged here about the X++ max-length string type, and asked how we should handle…

0