Не подскажете ли как создать query с условиями выбора эквивалентными следующим
PHP код:
LedgerTrans res;
select firstonly res
index BondBatchIdx_RU
where res.BondBatch_RU == this.BondBatch_RU &&
res.BondBatchTrans_RU == this.BondBatchTrans_RU &&
res.RecId != this.RecId;
return res;
Это метод getBondedTrans_RU на таблице LedgerTrans.
За ранее блакгодарен.