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:
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 ...
No credit card required