Reply
Emerging Member
Posts: 69
Registered: ‎06-14-2011
Kudos: 11

Bug in invoice numbering

Hi,

we have the latest beta 2.14.0-b2 and we noticed today duplicate invoice numbers. A job was running - creating final invoices from drafts (several hundred drafts processed), and at the same time I was creating some invoices for other clients manually. After all was finished we export invoices to some other application and there we noticed duplicates. All manually created invoices had duplicates.

 

Can you please fix it?

Ubiquiti Employee
Posts: 3,528
Registered: ‎12-10-2015
Kudos: 1255
Solutions: 272

Re: Bug in invoice numbering

We will check it out asap. Thanks for reporting.
Ubiquiti Employee
Posts: 3,528
Registered: ‎12-10-2015
Kudos: 1255
Solutions: 272

Re: Bug in invoice numbering

@jurajx just to be sure, we would need to know wherewh you are using two organisations in your UCRM. If so, this could cause it when both organisations are using the same invoice number prefix.

Emerging Member
Posts: 69
Registered: ‎06-14-2011
Kudos: 11

Re: Bug in invoice numbering

@UBNT-Petr no, we use only single organisation in UCRM.
Ubiquiti Employee
Posts: 3,528
Registered: ‎12-10-2015
Kudos: 1255
Solutions: 272

Re: Bug in invoice numbering

Hi, the fix which will prevent from invoice number duplicates will be released in the next beta version 2.14.0-beta3 (ETA tomorrow) and in the 2.14 stable (ETA in a week)
Emerging Member
Posts: 69
Registered: ‎06-14-2011
Kudos: 11

Re: Bug in invoice numbering

[ Edited ]

Hello,

this month I tested the fix (UCRM 2.14.1). I had many invoice drafts marked as Accepted and pushed to process them. During draft processing I opened another draft to edit and when saving I get a warning - the invoice number was already used and can't save the draft.

 

I also can't submit invoice without number, so I have to cancel draft editing, wait till draft processing is finished and then reopen the draft and save it as invoice.
So the fix fixed duplicates but didn't solve the situation Man Sad The concept of editing draft with prefilled invoice number is not correct I think. Invoice number shouldn't be mandatory and when empty, the system should assign correct number after saving draft.

 

 

Highlighted
Ubiquiti Employee
Posts: 3,528
Registered: ‎12-10-2015
Kudos: 1255
Solutions: 272

Re: Bug in invoice numbering

Yes, this could be improved. We will enable you to create/edit invoice or draft without the number and let the system assign the number automatically when the invoice/draft is going to be saved or saved&sent.
Reply