onScan

The scan events gets triggered when a barcode (or 2D code) is scanned, e.g. by using the wedgeScanner control. You can then ask the control for the scanned code.

Simple Example

    console.log("The scanned code is: " app.getFieldValue("myScannerControlId"));

let result = await brixxApi.businessBrixx({
     functionName:"Gs1Splitter",
     methodName: "Split",
     gs1Code: brixxApi.getFieldValue("myScannerControlId")
 });
 console.log(result)

Last updated