Microsoft Dynamics Ax, Application Integration Framework, x++ programming, Ax 2009 , 2012. Enterprise portal, SharePoint , BI Tools, OLAP, OLTP, DAX, SQL database, SSRS,SSIS,SSAS, Workflow.

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

Active Search Results Technology Blogs