Thursday, October 29, 2015

AX 2012: Syntax Update Insert Delete

Syntax :Update/Insert/Delete

public void update()
{
ttsbegin;
select forupdate custable
where custable.AccNo="123"
custable.Custname="dileep"
custable.update()
ttscommit;
}

public  void  insert()
{
  ttsbegin;
  cusTable cusTable;
  cusTable.name="Name"
  cusTable.accno="123";
  cusTable.Insert();

}

public void delete()
{
custable custable;
ttsbegin;
select forupdate cusTable
where cusTable.accno="123"
cusTable.delete();
ttscommit;
}

No comments:

Post a Comment

Table browser URL in D365FO

Critical Thinking icon icon by Icons8