API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Optimize CashBookEntry?

0
How can I avoid making a request for each property I set on a ICashBookEntry?

ICashBookEntry cashBookEntry = session.CashBookEntry.CreateFinanceVoucher(cashBook, account, contraAccount);
cashBookEntry.Amount = amount;
cashBookEntry.Currency = currency
cashBookEntry.AmountDefaultCurrency = amountDefault;
cashBookEntry.Date = date;
cashBookEntry.Text = text;
cashBookEntry.VoucherNumber = number;

Code above generates 7 requests.
I just got an Excessive API usage warning for making more than 100.000 requests in one day.
created Oct 4, 2011 by thomas fra focus it
0% Accept Rate
Q 7 A 8 C 0

1 Answer

0
I got the answer from this topic: net-f6/icashbookentry-vouchernumber-t1996.html
answered Oct 6, 2011 by thomas fra focus it
Visma e-conomic A/S
...