Do not use find method for this, it works so slow with big tables. This's the way which Axapta uses with it's own forms:
element.args().lookupField(fieldnum(SMAServiceOrderTable, ServiceOrderId));
element.args().lookupValue(_myServiceOrderId);
SMAServiceOrderTable_ds.executeQuery();
Hiç yorum yok:
Yorum Gönder