Цитата:
Сообщение от
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.