SKU generator

SKU generator

Hi, 
Would it be possible to create a custom function that automatically generate the SKU during the article creation procedure
In our company the SKU code (K ***) consists of 3 fields:
-an alphanumeric field consisting of a character always present and equivalent to "K"
- a field of 3 unique numeric characters associated with the producers
- a field of 4 incremental numeric characters
Thanks