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");
}


