O'Reilly logo

Learning MS Dynamics AX 2012 Programming by Erlend Dalen, Mohammed Rasheed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Record-based manipulation

The record-based manipulation is used to manipulate one record at a time. The typical usage of record-based manipulation is when you need to manipulate only one record or if you have to manipulate many records and you are unable to use the set-based operators or would like to commit each record at a time.

In the following sections, we will look closer at the insert, update, and delete operations.

Insert

Perhaps the most common method to manipulate tables in AX is to insert them using the insert() method. It is used to insert the data currently held in a table variable (an object) to a new record in the database (that is, the data is physically committed to the database). The insert() method in X++ is a table instance method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required