So you have done some development before looking into X++, right? Maybe you're a .NET expert? If so, you must have heard of Common Language Runtime before. Common Language Runtime (CLR) is a component of .NET that enables objects written in different languages to communicate with each other. CLR can be used in AX to consume functionality from .NET classes and libraries, including the ones you have created in .NET. Technically, you cannot use AX objects in .NET by using CLR. However, to facilitate interoperability, Dynamics AX provides the managed code with managed classes (called proxies) that represent X++ artifacts.
One very nice feature in AX when dealing with integration between AX and .NET is the way AX can implicitly convert common data types. For the data types listed in the following table, you do not need to convert the data manually. For all other data types, you will have to convert them manually.
.NET CLR |
X++ |
---|---|
|
|
|
|