Unfortunately, you cannot scan barcodes to add items in a sales order. The only time you can scan items is when creating a shipment for the sales order.