Saturday, November 12, 2011

Insert Records and update grid in axapta


 Insert Records and update grid in axapta x++

public void Insert_test_Emp_Travel()
{
;
test_Emp_Travel.SrNo = str2num(rlSrNo.valueStr());
test_Emp_Travel.Employee_Name = strEmployeeName.valueStr();
test_Emp_Travel.Travelling_Through =  str2enum (test_Travelling_Through,cmbTravellingThrough.valueStr());
test_Emp_Travel.insert();
test_Emp_Travel_ds.reread();
test_Emp_Travel_ds.refresh();
test_Emp_Travel_ds.research(true);
test_Emp_Travel_ds.executeQuery();
element.ClearField_Insert();
GridEmpTravel.update();
GridEmpTravelDetails.update();
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Popular Posts

Active Search Results Technology Blogs