If combobox value selected with lookup and there is a data source refresh in method modified, modified method works twice. Another person faced this situation and unfortunately had not found a solution.
public void modified()
{
;
super();
info("111");
salesLine_DS.research(true);
salesLine_DS.refresh();
info("222");
}
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("111");
salesLine_DS.research(true);
salesLine_DS.refresh();
hasChanged=false;
info("222");
}
bug etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
bug etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
30 Kasım 2011 Çarşamba
AXAPTA first bug
Today I discovered my first bug:
When classDeclaration method like below occurs that error:
public class FormRun extends ObjectRun{
FormStringControl lineAccountField;
FormStringControl lineAccountField2;
NumberSeqFormHandler numberSeqFormHandler;
SMAAgreementId agreementId;
}
When write like this, no error:
public class FormRun extends ObjectRun
{
FormStringControl lineAccountField;
NumberSeqFormHandler numberSeqFormHandler;
SMAAgreementId agreementId;
FormStringControl lineAccountField2;
}
When classDeclaration method like below occurs that error:
public class FormRun extends ObjectRun{
FormStringControl lineAccountField;
FormStringControl lineAccountField2;
NumberSeqFormHandler numberSeqFormHandler;
SMAAgreementId agreementId;
}
public class FormRun extends ObjectRun
{
FormStringControl lineAccountField;
NumberSeqFormHandler numberSeqFormHandler;
SMAAgreementId agreementId;
FormStringControl lineAccountField2;
}
Kaydol:
Kayıtlar (Atom)
