Barcode Utilities Extension


#1

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%20(1)

Case 2: blocks%20(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: https://community.kodular.io/t/barcode-utilities-extension/51249/1


#2

thank you for your contribution

please remember the naming conventions, which are UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names
Unbenannt

Taifun


#3

New update! See changelog and download extension here: https://community.kodular.io/t/barcode-utilities-extension/51249/1