Issues concerning X++

This blog deals with issues about X++

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...

Author: Peter Villadsen Date: 02/21/2015

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...

Author: Gene-FID Date: 12/06/2013

Announcing the “AxErd” Website for Dynamics AX 2012

We have created about 30 database ERDs (entity relationship diagrams) for tables of Microsoft...

Author: Gene-FID Date: 05/23/2013

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...

Author: Gene-FID Date: 09/17/2012

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

SUMMARY: You cannot pass the value of -1 for the ‘decimals’ parameter to the num2str X++...

Author: Gene-FID Date: 03/08/2012

X++ Deterministic Garbage Collection

Garbage Collection in Microsoft Dynamics AX 2012 This blog entry investigates issues concerning the...

Author: Peter Villadsen Date: 01/13/2012

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...

Author: Peter Villadsen Date: 12/07/2011

X++ Compiler Changes in Dynamics AX 2012

In Microsoft Dynamics AX 2012, we made compiler changes to make the X++ language more reliable and...

Author: Stella Chen Date: 11/04/2011

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;...

Author: Karl Simonsen Date: 10/06/2011

.NET Interop to X++ When X++ Runs as CIL

In Microsoft Dynamics AX 2012 we have interoperability features that enable your .NET Framework C#...

Author: Ashish Gupta MBS Date: 09/20/2011

Changes to the Collection Classes in Dynamics AX 2012

In Microsoft Dynamics AX 2012 we introduced the ability to compile X++ code into .NET Framework CIL....

Author: Stella Chen Date: 09/07/2011

How to use X++ Delegates in Dynamics AX 2012

In this post I want to cover some of the core functional aspects of the new delegates feature...

Author: Marcos Calderon M Date: 08/02/2011

X++ script host.

I was looking at the API that we publish for the X++ compiler, and it struck me that it would be...

Author: Peter Villadsen Date: 05/19/2011

Working with System.Char in X++

There are situations where it is useful to workl with characters in X++. As you know, X++ does not...

Author: Peter Villadsen Date: 05/10/2011

Announcing the Microsoft Dynamics AX Technical Conference 2011

The launch of the next release of Microsoft Dynamics AX will be next year. There will be a Microsoft...

Author: Peter Villadsen Date: 08/06/2010

More help needed from community: Do you rely on string truncation?

Previously the X++ language allowed the LEFT and RIGHT keywords on definitions of string variables....

Author: Peter Villadsen Date: 03/16/2010

Removal of legacy functions

There are several legacy X++ language functions found in Dynamics AX that we have been considering...

Author: cgood@microsoft.com Date: 02/23/2010

Traversing elements in an IEnumerable from X++

This issue recently came up: How do you traverse the elements in an instance of an...

Author: Peter Villadsen Date: 01/19/2010

Conditional breakpoint workaround

As you may know, the Ax debugger does not feature conditional breakpoints. It does obviously allow...

Author: Peter Villadsen Date: 10/10/2009

Transforming X++ code to managed code: Check the video...

The channel 9 video:...

Author: Peter Villadsen Date: 09/12/2009

Nulls in foundation classes? A chance for you to help out.

The name "Axapta Foundation Classes" or just AFC for short, is given to a number of classes that are...

Author: Peter Villadsen Date: 08/25/2009

Forthcoming changes to the X++ language

High level programming languages and their compilers solve many problems for developers who want to...

Author: Peter Villadsen Date: 06/29/2009

Step-by-Step Checklist for Debugging Batch Jobs in Dynamics Ax

This post applies to Microsoft Dynamics Ax 2009 (see version note below). A. Enable Global...

Author: cgood@microsoft.com Date: 06/25/2009

Serializing Axapta Foundation Class instances as XML streams

The Axapta foundation classes are a set of generally applicable classes that contain values of...

Author: Peter Villadsen Date: 04/29/2009

Is the X++ Compiler Too Flexible?

In Microsoft Dynamics AX 2009, the X++ compiler is sometimes too flexible in its rules for code. It...

Author: GeneM Date: 02/23/2009

Using the Cross company feature from the Business Connector.

In Ax 2009 the new cross company feature was introduced. It allows the programmer to specify a...

Author: Peter Villadsen Date: 12/19/2008

The Enterprise Portal team introduces new blog...

The EP team has just created a blog about their stuff. These guys know their stuff, and are heavy...

Author: Peter Villadsen Date: 06/05/2008

Using graphics in forms and legacy reports.

Let's face it - The forms and reports in Dynamics Ax are pretty bland. They're very good at...

Author: Peter Villadsen Date: 03/31/2008

Caveat: Using the += and -= operators for dates.

As you may know, it is possible in X++ to add integers to dates. The semantics are that the integer...

Author: Peter Villadsen Date: 02/05/2008

Missing values: getting the System.Missing.Value value

When dealing with office integration scenarios and when calling APIs that are based on old COM...

Author: Peter Villadsen Date: 01/15/2008

Macros - Definitions and Pitfalls

The X++ language features a macro expansion facility. With it, you can define macros, use macro...

Author: Peter Villadsen Date: 11/12/2007

Entering sales orders over the phone...

At the convergence conference in Copenhagen I wanted a demo that could demonstrate another way of...

Author: Peter Villadsen Date: 11/08/2007

Pen based form demo

This demo was written for Convergence 2007 to showcase how Dynamics Ax can leverage managed code. In...

Author: Peter Villadsen Date: 10/30/2007

Difference between " and ' ?

We have been asked whether there is any difference between the two types of quotes that can be used...

Author: Peter Villadsen Date: 10/29/2007

SQL improvements in the next version of Dynamics AX

I'd like to share with you a description of some of the features that we've finished for the next...

Author: Peter Villadsen Date: 09/10/2007

Exception handling and transactions

The runtime semantics of exceptions is peculiar in X++. The difference from the semantics from other...

Author: Peter Villadsen Date: 09/08/2007

Correction guide - Compiler warnings

The following is based on material kindly provided by Michael Fruergaard Pontoppidan. I have edited...

Author: Peter Villadsen Date: 08/21/2007

Misusing string concatenations

We still see issues where programmers experience really bad things because they're misusing the str...

Author: Peter Villadsen Date: 08/07/2007

X++ Tips and Tricks webinar made available right here...

Hello All I recently had the opportunity to do a webinar for a number of online participants, where...

Author: Peter Villadsen Date: 07/30/2007

Integrating Mappoint into the Customer form...

At today's webinar, I demonstrated how managed code can be called from a form, to get a bitmap...

Author: Peter Villadsen Date: 07/11/2007

Getting rid of the "Loss of precision" warning message

A question came up at today's webinar where a developer had a (presumably legitimate) reason to cast...

Author: Peter Villadsen Date: 07/11/2007

Managed enumeration types and X++

Currently it is painful to use managed enumeration types in X++, although not impossible, This...

Author: Peter Villadsen Date: 07/02/2007

CLR interop: Passing Int16 values to managed code.

As you all know, Dynamics AX supports 32 bit integers in its int datatype. However, sometimes you...

Author: Peter Villadsen Date: 07/02/2007

TechEd 2007 InfoPath demo bits.

At TechEd in Orlando a few weeks ago, I did a demostration of how InfoPath can be used as an easy...

Author: Peter Villadsen Date: 06/27/2007

Operator precedence of && and ||

There is an issue concerning logical expressions (i.e. expressions that are evaluated to true or...

Author: Peter Villadsen Date: 06/25/2007

Dynamics AX eventing

Abstract: The following blog presents two useful ways to perform communication between classes in...

Author: Peter Villadsen Date: 06/22/2007

Using arrays with CLR interop

Currently there is no way to pass X++ native arrays to CLR arrays and vice versa. Even it were...

Author: Peter Villadsen Date: 06/20/2007

Welcome to the X++ blog

Hello, The X++ team is happy to provide the X++ blog as a vehicle of communication between the X++...

Author: Peter Villadsen Date: 06/19/2007