this with throw a TypeError if the barcode isn't in the table.