Показать сообщение отдельно
Старый 14.12.2007, 15:01   #3  
ist is offline
ist
Участник
 
60 / 10 (1) +
Регистрация: 29.07.2007
Цитата:
Сообщение от kashperuk Посмотреть сообщение
If you are talking about sum(Field), than it's pretty easy:
X++:
this.query().dataSourceTable(tablenum(LedgerTrans)).addSelectionField(fieldNum(LedgerTrans, Voucher), SelectionField::Sum);
No... I have to make auto sum for this fields from the report, for that sumAll property = Yes, when voucher field has changed.

See report LedgerTransListAccount/Query/DataSource/LedgerTrans/Sorting/AccountNum-> properties->AutoSum = Yes. Exact this I want to make with X++ , not in AOT.

Последний раз редактировалось ist; 14.12.2007 в 15:50.