VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: pimo on February 08, 2023, 13:32:41 PM

Title: how to reset the invoice number
Post by: pimo on February 08, 2023, 13:32:41 PM
Hi, I have migrated to joomla 4.2.7 and Virtuemart 4.0.12, PHP 7.4. In Virtuemart 3 I had a plugin for the invoice number, this plugin does not indicate that it is valid for Virtuemart 4 and I don't see any that is.
Now I need the invoices created with Virtuemart 4 to continue from the number of the last invoice created in Virtuemart 3, for example if the last invoice in Virtuemart 3 was XXXXX02000, that in Virtuemart 4 continue from that number, but I can't do it.
The only solution I have found is to empty the database in Virtuemart_invoice and then start from 1, although it is not the best.

Does anyone know how to do it?.

David
Title: Re: how to reset the invoice number
Post by: Gingerweb on January 19, 2024, 17:04:39 PM
Did you fix this if so how please?
Title: Re: how to reset the invoice number
Post by: p.barg on January 22, 2024, 12:09:36 PM
Hi,

I've had the same problem and am using a different plugin now (where I was able to continue the number sequences):
http://extensions.virtuemart.net/english/automated-numbers-detail


-- Petra
Title: Re: how to reset the invoice number
Post by: mblokdijk on October 17, 2024, 11:37:58 AM
i am also using this plugin, but when a ideal payment (or creditcard payment) is made, it does not provide the number sequence i setup in the plugin, but it reverts to vm default. how can i change that?