web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Update and Update_RecordSet Code sample in Ax 2012

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
This is Update and Update_RecordSet Code sample. Result of both will be same .

 TestTable TestTable;  
//Update_Recordset
update_recordset TestTable setting Name ="New Enterprises" where TestTable.Accountnum =="uS-027";  
//Update
ttsBegin;  
while select forupdate TestTable where TestTable.Accountnum =="uS-027"
{
TestTable.Name ="New Enterprises";
TestTable.update();
}
ttsCommit;
info("OK");


This was originally posted here.

Comments

*This post is locked for comments