Hi,
While waiting for someone with more experience in this area, these links may be useful:
https://docs.erpnext.com/docs/v13/user/manual/en/stock/articles/item-codification
https://docs.erpnext.com/docs/v13/user/manual/en/stock/serial-no
https://docs.erpnext.com/docs/v13/user/manual/en/stock/articles/serial-no-naming
This discussion may be of interest as well: