Open tatarincev opened 4 years ago
Functional requirements: We want to have a flexible and customizable template creation mechanism that gives us the following functionality:
Technical details: As a possible solution, we could add custom template number generator to the core module, with an ability to change its settings and enable it for the orders, payments, and shipping. Thus custom generator will replace the current one. We need to add an abstraction for this purpose. Implementation could use MSSQL sequence objects under the hood to guarantee a unique and increasing sequence.
For example RWS800000
I believe they just want them to be sequential starting from
RWS800001 RWS800002 RWS800003 etc…
It seems the current implementation for this template
RWS8{1:D5}
will produce not unique numbers.