Thursday 3 January 2013

Data Selection and Manipulation in Ax 2009


You can use SQL statements either interactively or within source code, to access and retrieve data that is stored the database. Data manipulation is performed through the following statements:
  • insert adds one or more new records into a table.
  • update modifies data in existing table records.
  • delete removes existing records from a table.
Before any data can be changed in Microsoft Dynamics AX, the data must first be selected for update by using a select statement. The select forUpdate command selects records exclusively for update.
The insertupdate, and delete methods perform operations on only one record at a time. The array insertinsert_recordsetRecordInsertList, and update_recordsetstatements perform operations on multiple records at a time. However, the X++ record-set operations can fall back to record-by-record operations in a number of situations.
For more detail information Go to the :
http://msdn.microsoft.com/en-us/library/aa883417(v=ax.10).aspx

No comments:

Post a Comment