Re: Can't have same invoiceID for invoices created in different years

2021-02-21 Thread Aditya Sharma
Hi Andrie, Though accounting is not forte, I think you could use the reference number field to store the external invoice id and let the invoiceId be the system's auto-generated value. HTH Thanks and regards, Aditya Sharma On Sun, Feb 21, 2021 at 4:38 PM Andrei Stan wrote: > Hello Michael, > T

Re: System error, could not commit transaction XAException (null) on resuming transaction

2021-02-21 Thread Giulio Speri - MpStyle Srl
Hi Michael, thanks for the suggestions. I think I have something: I added try-catch block around the commit statement within the internal transaction and I find out that at a certain point, a transaction for a page X, goes time out but since that was inside a loop without exiting (that's my fault

Re: Can't have same invoiceID for invoices created in different years

2021-02-21 Thread Andrei Stan
Hello Michael, Thank you for reply. Can you suggest any best practices when having multiple invoices and at the end of the (fiscal) year one wishes to reset the invoice counter? Is there an option in ofbiz to do that? Thanks, A. On 21.02.2021 00:28, Michael Brohl wrote: Hi Andrei, if you load