Can inventory item codes be generated automatically?

SOLVED

I will like the system to automatically generate an inventory item code instead of me inputting it manually. 

I dont know if this is possible.