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

Summary


In this chapter, we discussed how to manipulate data using X++. We also saw how to write code that inserts, updates, and deletes records without breaking the relationship that the record has with data in other tables.

The ttsbegin, ttscommit, and ttsabort operators and the selectforupdate keyword were also introduced to show you how to create and handle a transaction scope.

After reading about insert_recordset, update_recordset, and delete_from, you also learned how to manipulate many records within one database transaction, which is a lot more efficient than using the insert, update, or delete methods.

In addition, we also went through the difference between the insert, update, and delete methods and the doInsert, doUpdate, and doDelete methods.

In the next chapter, we will use the knowledge gained in this chapter and look at how we can use it to integrate data with other systems. We do this by reading and writing text files and XML files in addition to other databases using an ODBC...