Quote:
Originally Posted by cflsystems
|
Thank you. That, unfortunately, does not suit my needs. It applies a prefix and suffix to the order number, but the order number itself continues to increment. I am looking to have intuitive order numbers where the sequence resets each year, and the current year is pre-appended.
Since the
orderNumber column of the
orders model class is already a
VARCHAR of length 255, so it already prepared to accept the form of order number required for my business logic. I just need to find the precise business logic which needs to be overridden by my module.
It seems, though, that in my OP, I looked at the Order Repo model, rather than the actual Order Model itself. I am continuing my research to find exactly where in the business logic is found the code that sets the value of the
orderNumber column.