Caller form refresh task refresh #task
FormDataSource fds;
FormRun fr;
#Task
fr =element.args().caller();
if (fr != null)
{
fds = fr.dataSource();
PurchTableDlv = fds.getFirst(1);
ttsbegin;
PurchTableDlv.selectForUpdate(true);
PurchTableDlv.update();
PurchTableDlv = fds.getNext();
ttscommit;
fr.task(#TaskRefresh);
}
element.closeOk();
Comments
Post a Comment