In a retail application, employees quickly update stock information by scanning product barcodes or QR codes. This reduces errors caused by manual data entry and increases processing speed.
Enabling Barcode Scanning
- Enter the UI Design module and drag a Button element from the left panel and drop it on the screen.
- Enter ‘Scan Barcode’ in the Label property of the button.
- Select the button and add the Initial Actions → Device → Scan Barcode action from the + ADD ACTION menu.
Post-Scan Data Processing
- When the user clicks the button, the device camera opens and barcode/QR code scanning begins.
- The scanned barcode or QR code data is matched with the relevant product in the application database.
- If product information is found, it is displayed on the screen and the user can perform operations such as updating stock.