Hi all,
This is my first attempt at making a Power App. My goal is a make a simple app for our warehouse staff to report production. I'm using the built in barcode scanner. Ideally they will simply scan a barcode, enter the number they produced, along with their name, and then click submit. This will then email their manager with the production report for verification.
I've uploaded a spreadsheet with a table called 'AllCodes' which is to translate the barcodes (column A "BCode"), to product code (column B "ProductCode), description (column C "Description") and UOM (column D "BaseUOMCode").
At my current level of understanding, I have managed to write LookUp functions, which can successfully search and return values for both description and UOM when I manually enter a product code. I seem to be running into issues comparing the output of the barcode scanner to my table, which should return the product code. I can't seem to get a scanned bar code to match in this table.
Thank you in advance for your assistance.

Default value for 'Product Code':
LookUp(AllCodes,BCode = BarcodeScanner1.Value).ProductCode
Default value for 'Description' (works):
LookUp(AllCodes,ProductCode = ProdCode.Text,Description)
Default value for 'UOM' (works):
LookUp(AllCodes,ProductCode = ProdCode.Text,BaseUOMCode)