cancel
Showing results for 
Search instead for 
Did you mean: 

Order number issue increment

former_member658721
Participant
0 Kudos

I defined the custom order number in local.properties file to start with 00000001.

 keygen.order.code.name=order_code
 keygen.order.code.digits=8
 keygen.order.code.start=00000001
 keygen.order.code.type=numeric
 keygen.order.code.template=$

The start order number picked up from local.properties and incremented by 1 each time.

When I restart the server the order number starting again from 00000001 instead of picking from the previously used order number.

Is there any setting need to do to start the from the previously used order number instead of starting again from 00000001?

The order number starting from 00000001 each time server starts .

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member620692
Active Contributor
0 Kudos

Please add the following properties and let me know if it solves the problem:

 keygen.order.code.numeric=true
 numberseries.cache.size.order_code=1

Answers (1)

Answers (1)

former_member658721
Participant
0 Kudos

Thanks for your reply. Let me try those options..