Create Code for inventory