[Skip to main content](#vessel-content)

#   suggestion: option to set a starting number when "reset frequency" is in use

##

- **[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")**
- [![n00bster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56367-n00bster "View n00bster's Profile") Topic Author
- [ Offline](/forum/user/56367-n00bster)

Less More

- Posts: 103
- Thank you received: 5
-
-

7 years 6 months ago [\#306380](#306380) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  *[suggestion: option to set a starting number when "reset frequency" is in use](/forum/35-orders-management/897431-suggestion-option-to-set-a-starting-number-when-reset-frequency-is-in-use#306380 "-- HikaShop version -- : 4.0.3  i want to suggest the option to set a fixed numerical value when the feature &quot;Invoice number reset frequency&quot; is turned on.  i want to start on very reset on a higher number, for example a fixed number, lets say 55. so if my order and invoice id number resets very year the first invoice number of the next year would be 56. right now i have to modify the database to get this done. would it be possible to extend the reset feature with such a option? I think that would be a simplification.")* was created by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")*

-- HikaShop version -- : 4.0.3

i want to suggest the option to set a fixed numerical value when the feature "Invoice number reset frequency" is turned on.

i want to start on very reset on a higher number, for example a fixed number, lets say 55. so if my order and invoice id number resets very year the first invoice number of the next year would be 56.
right now i have to modify the database to get this done. would it be possible to extend the reset feature with such a option?
I think that would be a simplification.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzQzMS1zdWdnZXN0aW9uLW9wdGlvbi10by1zZXQtYS1zdGFydGluZy1udW1iZXItd2hlbi1yZXNldC1mcmVxdWVuY3ktaXMtaW4tdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 6 months ago [\#306382](#306382) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suggestion: option to set a starting number when "reset frequency" is in use](/forum/35-orders-management/897431-suggestion-option-to-set-a-starting-number-when-reset-frequency-is-in-use#306382 "-- HikaShop version -- : 4.0.3  i want to suggest the option to set a fixed numerical value when the feature &quot;Invoice number reset frequency&quot; is turned on.  i want to start on very reset on a higher number, for example a fixed number, lets say 55. so if my order and invoice id number resets very year the first invoice number of the next year would be 56. right now i have to modify the database to get this done. would it be possible to extend the reset feature with such a option? I think that would be a simplification.")*

Hi,

That seems really specific to your needs.
Why not setup a mass action with a trigger "on before order update", with a filter on the order_invoice_id column being 1 and an action "update the values" on that same column with the value 56 (and I suppose an action on the order_invoice_number to update it as well) ?
That way you would get that done automatically, without having us add an extra option almost no one would use.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzQzMS1zdWdnZXN0aW9uLW9wdGlvbi10by1zZXQtYS1zdGFydGluZy1udW1iZXItd2hlbi1yZXNldC1mcmVxdWVuY3ktaXMtaW4tdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")**
- [![n00bster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56367-n00bster "View n00bster's Profile") Topic Author
- [ Offline](/forum/user/56367-n00bster)

Less More

- Posts: 103
- Thank you received: 5
-
-

7 years 6 months ago [\#306390](#306390) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  Replied by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")* on topic *[suggestion: option to set a starting number when "reset frequency" is in use](/forum/35-orders-management/897431-suggestion-option-to-set-a-starting-number-when-reset-frequency-is-in-use#306390 "-- HikaShop version -- : 4.0.3  i want to suggest the option to set a fixed numerical value when the feature &quot;Invoice number reset frequency&quot; is turned on.  i want to start on very reset on a higher number, for example a fixed number, lets say 55. so if my order and invoice id number resets very year the first invoice number of the next year would be 56. right now i have to modify the database to get this done. would it be possible to extend the reset feature with such a option? I think that would be a simplification.")*

sounds interesting and would be ok for me. but does this mass action only take action when the order_invoice_id is 1. do i have understand this right?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzQzMS1zdWdnZXN0aW9uLW9wdGlvbi10by1zZXQtYS1zdGFydGluZy1udW1iZXItd2hlbi1yZXNldC1mcmVxdWVuY3ktaXMtaW4tdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 6 months ago [\#306394](#306394) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suggestion: option to set a starting number when "reset frequency" is in use](/forum/35-orders-management/897431-suggestion-option-to-set-a-starting-number-when-reset-frequency-is-in-use#306394 "-- HikaShop version -- : 4.0.3  i want to suggest the option to set a fixed numerical value when the feature &quot;Invoice number reset frequency&quot; is turned on.  i want to start on very reset on a higher number, for example a fixed number, lets say 55. so if my order and invoice id number resets very year the first invoice number of the next year would be 56. right now i have to modify the database to get this done. would it be possible to extend the reset feature with such a option? I think that would be a simplification.")*

Hi,

That's right. That's because when the reset occurs, the next order invoice id is 1 again. And thus you can catch it at that point and set it to the value you want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzQzMS1zdWdnZXN0aW9uLW9wdGlvbi10by1zZXQtYS1zdGFydGluZy1udW1iZXItd2hlbi1yZXNldC1mcmVxdWVuY3ktaXMtaW4tdXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
