Jump to content
  • 0

Sequencial Invoice Number With Date


Question

Posted

Hello

 

i have this invoice format {num}-{day}{month}{year}

 

the probleme i have is that in every new day the {num} back to 1 for exempale

 

1-21092015

2-21092015

1-22092015

2-22092015

3-22092015

1-23092015

2-23092015

 

 

what i want is that the first number never back to 1 in eery new day ?

 

1-21092015

2-21092015

3-22092015

4-22092015

5-22092015

6-23092015

7-23092015

 

how to achieve this ?

 

2 answers to this question

Recommended Posts

  • 0
Posted

The current behavior, where {num} starts back at one, is expected with the use of the other temporal tags {day}, {month}, and {year}. When the invoice is created, the formatting set on the invoice replaces these temporal tags with their current values. If you had "{num}-{month}", then the {num} would start over at 1 with the first invoice in every new month. Similarly "{num}-{year}" would start the number at 1 with the first invoice of every new year.

 

To avoid having the {num} start at 1 again, you would have to stop using {day}, {month}, or {year} tags.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...