Partilhar via


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

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

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

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

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

Date: 03/08/2012

X++ Deterministic Garbage Collection

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

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

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

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

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

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

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

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

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

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

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

Date: 03/16/2010

Removal of legacy functions

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

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

Date: 01/19/2010

Conditional breakpoint workaround

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

Date: 10/10/2009

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

The channel 9 video:...

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

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

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

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

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

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

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

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

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

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

Date: 01/15/2008

Macros - Definitions and Pitfalls

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

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

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

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

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

Date: 09/10/2007

Exception handling and transactions

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

Date: 09/08/2007

Correction guide - Compiler warnings

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

Date: 08/21/2007

Misusing string concatenations

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

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

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

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

Date: 07/11/2007

Managed enumeration types and X++

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

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

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

Date: 06/27/2007

Operator precedence of && and ||

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

Date: 06/25/2007

Dynamics AX eventing

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

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

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

Date: 06/19/2007