VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: DanielIIC on March 19, 2016, 11:16:56 AM

Title: invoice number not in in order anymore
Post by: DanielIIC on March 19, 2016, 11:16:56 AM
Hi,
I am using virtuemart now since more then a year and the invoice number was always in order:
160219Q3XV039
160219C2C7040
etc.

but for what ever reason it changed and it is sometimes jumping one number.  The order number is still in order so it is not that i am missing something.
If I had change anything in the meantime I would know where to search, but I am not aware of anything.

Any idea?

thanks
Daniel

Joomla! 3.4.7
VirtueMart 3.0.12
http://www.mementi-urnen.de
Title: Re: invoice number not in in order anymore
Post by: GJC Web Design on March 20, 2016, 22:10:36 PM
if u have sequential invoice numbers you must be using a plugin or hack as they are by standard installs random (I assume u mean Order numbers)
Title: Re: invoice number not in in order anymore
Post by: DanielIIC on March 21, 2016, 23:22:27 PM
Hi,
the order number (the one I can see in the left column in the order menu) is in a clear sequence:

A32T054
WC1Z055
NEG7056
N5XQ057
so that's fine.

but the invoice number I got on the pdf file (print options) next to the delivery notes, was in the previous described sequence.
It is also in the details under the IP adress "invoice"

Do I really need a plug-in to get this in sequence, was it just pure luck to be in sequence?

regards
Daniel
Title: Re: invoice number not in in order anymore
Post by: Milbo on March 22, 2016, 02:04:15 AM
The count of ordernumber and invoice counts the rows. So it works not perfect,
this plugin
http://extensions.virtuemart.net/vm-orders/automated-numbers-detail

uses an own table and own entry, just for the counter. The counter can be adjusted and works also per year, month, per country and so on.
Title: Re: invoice number not in in order anymore
Post by: DanielIIC on March 25, 2016, 11:42:52 AM
ok, thanks
I will try
Title: Re: invoice number not in in order anymore
Post by: DanielIIC on March 31, 2016, 22:04:31 PM
Hi,
It worked.

it took me a bit to get the syntax in the way I wanted it to have it, but it does what it should.

thanks for the help.

regards
Daniel