Hi,
1- Make Ajax Event (OnBlur) for your field that will catch the barcode.
2- In the (OnBlur) Select any data you need using sc_lookup, use...