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

ICashBookEntryData The entity already exists?

First time i use:
 myCashBookEntry = _session.CashBookEntry.CreateFinanceVoucher(cashBook, myAccount, myContraAccount);
Second time i use
 ICashBookEntryData myCashBookEntryData = _session.CashBookEntryData.GetData(myCashBookEntry);
//some updates to myCashBookEntryData and then i do this
Then i get the error: The entity already exists

How should I do?
I want to create several rows with the same verification number.
If i use the first line for every row i t works but the i get different verification number for each row and i want the same number for every row.
created Oct 24, 2011 by ancon
0% Accept Rate
Q 1 A 0 C 0

Visma e-conomic A/S