O'Reilly logo

Microsoft Dynamics AX 2009 Programming: Getting Started by Erlend Dalen

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, if you have to manipulate many records and you are unable to use the set-based operators, or would like to commit one record at a time.

In the upcoming sections we will look closer at the following operations:

  • Insert
  • Update
  • Delete

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 by the table variable into a new record in the database. The insert() method in X++ is a table instance method, and hence, it is performed on a table variable, sometimes also referred ...

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