We're creating CashBookEntries with the following code:
- Code: Select all
CashBookEntryData cashBookEntryData = new CashBookEntryData();
cashBookEntryData.setType(CashBookEntryType.DebtorPayment);
cashBookEntryData.setCashBookHandle(cashBookHandle);
cashBookEntryData.setVoucherNumber(invoiceNumber);
cashBookEntryData.setDebtorHandle(debtorHandle);
cashBookEntryData.setAmount(amount);
cashBookEntryData.setCurrencyHandle(currencyHandle);
cashBookEntryData.setDate(invoiceDate);
cashBookEntryData.setText(text);
session.cashBookEntry_CreateFromData(cashBookEntryData);
The above code will create an entry in the cashbook with the correct amount.
However, when we look at the cashreport in the web ui, the amount is zero.
What are we missing?


