VirtoCommerce/vc-module-core

SequenceUniqueNumberGeneratorServiceImpl should start at 1 not 0

OlegoO opened this issue · 1 comments

Currently, Order reference number starts with 0 for a day (ex: HA171213-00000). Instead of starting the reference sequence number from 0, please change the settings to start with 1.

1 as is typical in everyday non-mathematical/non-programming circumstances.

Version info:

  • Module version:
    v2.24.20

Expected behavior

initial element of a sequence is assigned the 1

Actual behavior

initial element of a sequence is assigned the 0