The automatic creation of Part Barcodes

Hi
I am interested to know if anyone has been provided with or has created a Part Barcode creation solution?
In my previous system I have a SQL Trigger, Function, reference table and Checksum that creates the sequential barcode.
Many thanks