Inventorynumber generation