Book Image

Learning MS Dynamics AX 2012 Programming

By : Mohammed Rasheed, Erlend Dalen
Book Image

Learning MS Dynamics AX 2012 Programming

By: Mohammed Rasheed, Erlend Dalen

Overview of this book

<p>This tutorial has been carefully structured to guide you through the basic features of AX development and get you started as quickly as possible. With this book, you will soon be able to develop and maintain comprehensive management solutions to enhance your Dynamics AX 2012 application's performance. Starting with a tour of the development environment, you'll gain a deep understanding of Dynamics AX tools and architecture, before getting to grips with X++ for deeper customization. You will also learn how to search, manipulate, and integrate data.</p> <p>The practical examples in this book take you through sample AX development projects and help you learn to create forms, reports, menu&nbsp; items, menus, and navigation pages. The book also helps you work with MorphX. By the end of this book, you will have a better understanding of the inner workings of Microsoft Dynamics AX—making your development simpler and faster, and your applications fast, reliable, and robust.</p>
Table of Contents (21 chapters)
Learning MS Dynamics AX 2012 Programming
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Links
Debugger
Index

Common Language Runtime


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

System.String

Str

System.Int32

Int...