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

VoucherNumber overwritten

0
Is there any way I can prevent, manually set VoucherNumber on CashbookEntryData, from being overwritten by the default voucher number sequence when booking?

Pseudocode being used:
cashBookData = session.CashBookEntry.CreateFinanceVoucher
...
cashBookData.VoucherNumber = post.BilagsNummer
session.CashBookEntry.UpdateFromData(cashBookData)
Cashbook.Book()

It works, voucher number not overwritten, if I import into the cashbook from a file and book.
created Feb 7, 2012 by thomas fra focus it
0% Accept Rate
Q 7 A 8 C 0

1 Answer

0
Issue solved, programming error
answered Feb 7, 2012 by thomas fra focus it

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...