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
| Column | Description | Rules |
|---|---|---|
| Barcode | The barcode text | Required, not blank, unique within the company |
| Unit | The item unit the barcode stands for | One of the item's units; defaults to the base unit |
| Primary | The unit's primary barcode | One primary barcode per unit |
| Price | A price specific to this barcode | Optional; up to 6 decimal places |
| Quantity | The quantity the barcode stands for | Optional; up to 6 decimal places |
Steps
Add a barcode to an item
- Open the item and select Edit.
- In Barcodes, select Add line.
- Enter the barcode, choose the Unit, and select Primary if it's the primary barcode.
- Select Save.
Generate a new barcode
- Open a saved item (not in edit mode).
- Select Generate barcode.
- The system replaces the primary barcode of the base unit with a new one: the digit
1followed 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).
- In the Items table, enter an Item code, a Unit and the number of Copies (1 to 999) on each line.
- Choose the Price level for the printed price, or leave it on Unit price.
- Select Prepare labels. A preview shows each label with its name, barcode and price. An item without a barcode shows No barcode.
- 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.