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

Is it possible to create a cashBook from API?

0
I create a handle to a cashBook and import data into, I get the handle this way:

CashBookHandle book = economic.cashBook_FindByName(Acubiz);   

If there are not any cashBook with the provided name (here named Acubiz) I would like to create it. The following code checks if the cashBook exists - and I could of course instruct the user to create it - but if it was posibile to create it from the API - I would prefer this. It seems like it is possible to rename a cashBook but I can not find a way to create it.

So does anyone know if this i possible?
                   
if (book == null) {
    System.out.println(Book does not exists and I will now like to create it);       
    //book = economic.cashBook_SetName(cashBookHandle, Acubiz);
}
created Jun 15, 2011 by Bjarne Thomsen
0% Accept Rate
Q 2 A 1 C 0

5 Answers

0
Hi Bjarne,

Creating cash books is unfortunately not possible at this time.

Anyone else who could use this functionality?


Best regards,
answered Jun 15, 2011 by Christian Estrup
Yes - need this functionality

regards
Allan
Hi Christian

Yes - we also need a API operation so we can make new cash books.
0
Yes please. I would like to register a DebtorPayment from the API, and then Book the CashBook in which I created the DebtorPayment.

If I understand correctly this is not possible today - because I cannot create a CashBook via the API. But maybe there is another way around it (which does not require someone to log in and create cash books manually).
answered Jan 8, 2012 by emanuelgreisen
0
Hi,

Depending on how your integration works and is set up by end-users, you could have a setting to specify which cash book customer payments should be registered in. Many users would have a bespoke one for this already anyway.


Best regards,
answered Jan 8, 2012 by Christian Estrup
0
Hi Christian,

Will the CashBook not disappear after it has been booked? If not, then it should not be a problem to have a bespoke cash book which is used by our system over and over again.

The only - more theoretical question - is then if there is a lock on the cash book such that two simultaneous payments will not work on the same cashbook and thus book it twice (one time with two payments, and once with zero payments).
answered Jan 8, 2012 by emanuelgreisen
0
Is it now possible to create a cashbook from the API (web service)?
answered Jan 28, 2014 by thomas fra focus it
Visma e-conomic A/S
...