Hi everyone,
Get a requirement to update the Variable scrap according to some data
After the following method updates the table, the new data cannot be directly displayed in the interface, F5 refresh is needed to get the new data, how to refresh the current page data, this method is "pubic edit XX"
if(set)
{
ttsBegin;
d_bom.TEK_ScrapVar = value;
d_bom.ScrapVar = scrap;
d_bom.update();
ttsCommit;
}
else{
ret = d_bom.TEK_ScrapVar;
}
return ret;