D365FFO – AX – Update and Update_RecordSet Code sample in Ax

This is Update and Update_RecordSet Code sample. Result of both will be same .

 TestTable TestTable;     
update_recordset TestTable setting Name ="New Enterprises" where TestTable.Accountnum =="uS-027";     
while select forupdate TestTable where TestTable.Accountnum =="uS-027"     
       TestTable.Name ="New Enterprises";



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s