On this page

Barcodes ​

Purpose ​

A barcode is a code that a scanner reads to identify an item and its unit quickly, in sales and in inventory. An item can have several barcodes, and each barcode belongs to one of the item's units.

Where barcodes are managed ​

  • The Barcodes section of the item page.
  • The Barcode column in Item quick update (the primary barcode).
  • The Generate barcode button on the item page.
  • The Import barcodes and Export barcodes buttons in the items list.

Fields ​

ColumnDescriptionRules
BarcodeThe barcode textRequired, not blank, unique within the company
UnitThe item unit the barcode stands forOne of the item's units; defaults to the base unit
PrimaryThe unit's primary barcodeOne primary barcode per unit
PriceA price specific to this barcodeOptional; up to 6 decimal places
QuantityThe quantity the barcode stands forOptional; up to 6 decimal places

Steps ​

Add a barcode to an item ​

  1. Open the item and select Edit.
  2. In Barcodes, select Add line.
  3. Enter the barcode, choose the Unit, and select Primary if it's the primary barcode.
  4. Select Save.

Generate a new barcode ​

  1. Open a saved item (not in edit mode).
  2. Select Generate barcode.
  3. The system replaces the primary barcode of the base unit with a new one: the digit 1 followed by eight random digits that aren't already in use. The message A new barcode was generated. appears.

Import barcodes ​

In the items list, select Import barcodes or Export barcodes (permissions md.item.import and md.item.export). The columns are Barcode (required), Item code (required), Unit (the base unit if left blank), Primary, Price, Quantity and Note.

Each row is matched on the barcode itself:

  • An existing barcode is updated.
  • A new barcode is added to the item.
  • A row marked Primary replaces the primary barcode of its unit.

For the import steps, see Excel import and export.

Business rules ​

  • A barcode is unique within the company: The barcode … is already used by another item.
  • Each unit has one primary barcode: Each unit can have only one primary barcode.
  • The primary barcode of a Scale item has 7 digits.
  • In sales pricing, the price of the scanned barcode takes precedence over every other price (S1).
  • A barcode can't be blank or too long: A barcode is empty or too long.

Barcode labels ​

The Barcode labels screen prints labels for several items in one go. Find it under Master data → Barcode labels (URL /md/barcode-labels). It needs the md.item_barcode_print.print permission (Print Items Barcode - Print).

  1. In the Items table, enter an Item code, a Unit and the number of Copies (1 to 999) on each line.
  2. Choose the Price level for the printed price, or leave it on Unit price.
  3. Select Prepare labels. A preview shows each label with its name, barcode and price. An item without a barcode shows No barcode.
  4. Select Print and print from the browser's print dialog.

Possible messages: Enter at least one item., Unknown item codes: …, and a message that the number of copies must be a whole number from 1 to 999. Label design and thermal label printers will come with print templates and the device agent.