Показать сообщение отдельно
Старый 18.04.2013, 08:16   #10  
dech is offline
dech
Участник
Аватар для dech
Самостоятельные клиенты AX
 
648 / 352 (13) ++++++
Регистрация: 25.06.2009
Адрес: Омск
Записей в блоге: 3
Цитата:
Сообщение от kitty Посмотреть сообщение
X++:
  this.query().dataSourceTable(tablenum(InventBatch)).clearDynalinks();
    this.query().dataSourceTable(tablenum(InventBatch)).addDynalink(fieldnum(InventBatch, ItemId), InventSum, fieldnum(InventSum, ItemId));
    this.query().dataSourceTable(tablenum(InventBatch)).addDynalink(fieldnum(InventBatch, inventBatchId), InventDim, fieldnum(InventDim, inventBatchId));
не помогло.
В info(inventSum_DS.query().dataSourceNo(1).toString()); вообще нет InventBatch
Попробуйте связать InventBatch только с таблицей InventDim по InnerJoin.
__________________
// no comments