cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Identifiers generated for SAP could be out of range

Former Member
0 Kudos
539

Hi. I think we have a problem with our e-commerce platform. Each time Hybris generates an order or anonymous user, an ID for SAP is generated and the range is for example: 0320000000-0330000000. The problem is when it generates this ID generates the identifier by skipping numbers, leaving others unused. The same for anonymous users ... We believe that this number can reach its limit soon. We use Hybris 6.4

Thanks you and regards.

View Entire Topic
mpern
Product and Topic Expert
Product and Topic Expert

The gaps in the number is due to the implementation of the number series in hybris.

The logic caches a certain range of numbers in-memory (for every server!) to avoid round-trips to the database. And, this also means as you restart the server(s), the unused range is lost.

The default range is configurable via the property numberseries.cache.size (default = 1000), you can also configure it per number series ( numberseries.cache.size.<key>, for example numberseries.cache.size.order_code=50)

Some additional information:

Former Member
0 Kudos

Thanks you so much!. I think I can continue with this great information