Wednesday, June 27, 2012

Call go to main table form using jumpref method in axapta


 public void jumpRef()  
  {  
  Args      args;  
  menuFunction  menuFunctionobject;  
  ;  
 args = new Args();  
  menuFunctionobject = new menuFunction(menuitemDisplayStr(“FormName”), MenuItemType::Display);  
  args = new Args(menuFunctionobject.object());  
  args.caller(element);  
  args.record(“datasource which added in the current form”);  
  menuFunctionobject.run(args);  
  }