Add a barcode or data field to a label
Here you add three kinds of fields to an existing or new label: the material barcode, a data field that reads the material price, and a barcode with a fixed value.
Before you begin
- Open the designer as in Design a label, steps 1 to 3. You need the Label Design permission.
- To print the material barcode, the material card must have a barcode for the unit you print with. See Set the units, equivalents and barcodes of a material.
- To print the name or code of a material segment, you need the material dimensions (segments) feature in your licence and a defined segment.
Steps
The material barcode
- Click Insert Barcode on the Fields toolbar. A barcode field appears near the top left corner.
- Double-click the field to open Properties, and open the Barcode page.
- Choose the Barcode Type your materials use, such as EAN. Turn on Show Text to print the digits under the bars.
- Check the preview. If a red line about the code length appears, change Preview Barcode to a code of the length of the chosen type; what you type there is not saved with the field.
- Click Ok, then place the field and set its size by dragging.
- Save with Save window contents and close window.
When printing, the program prints the barcode of each material in the unit you choose in Unit in the Label Printing window. If the material has no barcode for that unit, the barcode text is empty.
A material price or any other item
- Click Insert Field. The Properties window opens.
- Open the Data Field page. Leave Data Source: at Material Field and choose, for example, Consumer in Field Name.
- Choose the unit whose price you print in Unit and the currency in Currency, and type Parity if it is not
1. - Turn on Show currency code to print its code after the price, and Price includes tax to add the tax of the material to the price.
- To set the number of decimal digits, turn on Customize decimal places count and type the number in Decimal Places.
- To print the field as a barcode instead of text, choose Normal Barcode in Print as Barcode. The Barcode page appears so you can set the type, as in steps 2 and 3.
- Click Ok. The page shows a text such as
{Consumer Default Unit}that the program replaces with the price when printing.
A barcode with a fixed value
- For a barcode that does not change, click Insert Barcode Field (one-dimensional) or Insert 2D Barcode Field.
- Open the Properties of the field, type the value on the Data page in Text, and set the type on the Barcode or Barcode 2D page.
Result
- The fields are saved with the design, and the labels print them. A field linked to a material or a bill prints nothing when the print run has no material or bill.
- No accounting entries and no stock movement.
If something goes wrong
| Message | When it appears | What to do |
|---|---|---|
| Barcode length error, Valid barcode length : …,Verification Code: … | The length of the preview code does not suit the chosen Barcode Type. | Choose the type that matches your materials' barcodes, or edit Preview Barcode. |
| Value must be positive | You typed a negative number in Decimal Places. | Type a positive number. |
The other messages are in Label field properties.
Related
This page applies to alameen ERP 10, version 10.1.79.764.