Update a record in x++

 static void Job2UpdateTableData(Args _args)

{

     // Create table buffer


    Table1 table1Buffer;   // tablename tablebuffer 

      

      // the above and this code update the all the rows


        update_recordset table1Buffer setting


            Name="Rambo" // new value


            where table1Buffer.Name == "Rumman Ansari";  // old value


            info("All Data Updated");

    

}


Comments

Popular posts from this blog

How to Create a wizard in x++ d365

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O

x++ code to submit and approve and reject the invent movement workflow in d365 F&O