How can I set the invoice number in the invoice?

  • Posts: 272
  • Thank you received: 13
11 years 9 months ago #90318

I need to generate a sequential invoice number. I've setted the hikashop parameter for the invoice number format this way: {date format="Y"}/{id size="5"} so I can have: 2013/00001

Anyway when I generate the invoice for the vendor I still see the order number in the invoice instead of this 2013/00001

What's wrong?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 9 months ago #90322

Hi,

The invoice number format for vendors should be set in the vendor configuration itself.
It does not use the general HikaShop option but I have to add an option in order to set a default configuration for the vendors.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 13
11 years 9 months ago #90325

I've just set the vendor invoice number format in the vendor options this way: {date format="Y"}/{id size="5"} but still I see the order number format instead of this in the new invoices I try to generate.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 9 months ago #90328

Hi,

I am sorry but it works fine.



When I change the order status of a created sub order (which does not have any invoice id generated).
The generated invoice id is right:


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 13
11 years 9 months ago #90331

In the vendor options I cannot see the "Vendor root category". Something misconfigured in my case?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 9 months ago #90335

Hi,

It's because you don't have the option "Change vendor root category" activated.
There is no link with the invoice generation.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
10 years 9 months ago #142380

Hi,
I'm missing something...
I don't understand the difference between "Vendor Invoice Number"and "Invoice Number".

I need just a simple number (1, 2, 3, 4...) restarting from 1 each 1 jan /each year.

I understand that Hikashop now has this feature but I don't see any documentation on how to get it out (I've seen the format {id} but I still get a different style).
Is there a way to get control of the order_invoice_number field in order table?
Where this number is generated in?
Thanks in advance!

Last edit: 10 years 9 months ago by mitchie.

Please Log in or Create an account to join the conversation.

  • Posts: 60
  • Thank you received: 1
10 years 9 months ago #142382

I've got it.
Changes to invoice number format work only on new invoices as the number is saved formatted..

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.093 seconds
Powered by Kunena Forum