If combobox value selected with lookup and there is a data source refresh in method modified, modified method works twice.
public void modified()
{
;
super();
info("test");
salesLine_DS.research(true);
salesLine_DS.refresh();
info("tested");
}
I found a solution for that and applined mine. I put a variable at class declaration method and:
public void modified()
{
;
super();
if (hasChanged) //for twice call bugfix.
return;
hasChanged=true;
info("test");
salesLine_DS.research(true);
salesLine_DS.refresh();
hasChanged=false;
info("tested");
}
public void modified()
{
;
super();
info("test");
salesLine_DS.research(true);
salesLine_DS.refresh();
info("tested");
}
I found a solution for that and applined mine. I put a variable at class declaration method and:
public void modified()
{
;
super();
if (hasChanged) //for twice call bugfix.
return;
hasChanged=true;
info("test");
salesLine_DS.research(true);
salesLine_DS.refresh();
hasChanged=false;
info("tested");
}