PAGE('BARCODE' ...)

PAGE('BARCODE', 
Record, FieldName,
'ListOfBarcodeTypesToAccept (Optional)');

Example:
PAGE('BARCODE', SalesLine, 'No.');
PAGE('BARCODE', SalesLine, 'No.', 'CODE_39');
PAGE('BARCODE', SalesLine, 'No.', 'CODE_39,EAN_8');

SalesLine:VALIDATE('No.', SalesLine:GETVALUE( 'No.'));
SalesLine:MODIFY();

Use this command to open the barcode scanner and store the result as text in the given record and field. A field validation has to be performed via code.

List of available barcode types:

  • AZTEC
  • CODABAR
  • CODE_39
  • CODE_93
  • CODE_128
  • DATA_MATRIX
  • EAN_8
  • EAN_13
  • ITF
  • MAXICODE
  • PDF_417
  • QR_CODE
  • RSS_14
  • RSS_EXPANDED
  • UPC_A
  • UPC_E
  • UPC_EAN_EXTENSION
  • MSI
  • PLESSEY
  • IMB
  • All_1D

The greater the limitation on barcode types, the better the outcomes become.