Perform a stocktake using a barcode scanner