Barcode Utilities Extension

Main features:

  • Check if the given EAN (8/10/13) barcode is valid
  • Generates the check digit for EAN (8/10/13) barcodes

Blocks:

blocks

BarcodeUtilities1.isEanValid(String barcode)

Returns true if the given barcode’s check digit is valid, in this example the return value will be “true”


Case 1: blocks (1)

Case 2: blocks (2)

BarcodeUtilities1.generateEanCheckDigit(String barcode, boolean returnFullBarcode)

Generates the check digit for EAN (8/10/13) barcodes.
Case 1: If returnFullBarcode is set to true, the entire barcode and check digit will be returned in a single string. In this case, return value will be “8026921000013
Case 2: If returnFullBarcode is set to false, only the check digit will be returned. In this case, return value will be “3”

Direct download: com.appybuilder.futuredevtechita.BarcodeUtilities.aix (7,4 KB)