This is an old revision of the document!
7.1. Variable GTIN
Variable GTIN barcodes are GTIN barcodes, where a quantity is encoded in the barcode. This quantity can have different purposes, and the part of the barcode that holds the variable value can be different for each prefix.
This possibility in a GTIN barcode depends on the country where this product is used. This means that a certain prefix in a country could have a different meaning in another country.
To be able to handle this difference there is some configuration required to make the variable GTIN barcode scanning work in Produmex.
Variable GTIN configuration (UDT: PMX_VGTC)
Here the configuration of what prefixes are a variable GTIN barcode, and what purpose of the variable value means, is stored.
Item master data
On the item master data the fixed part of the variable GTIN barcode needs to be stored.
And a barcode type the value GTIN-Variable needs to be selected.
Example
Barcode on a label: 02801180070405
As a prefix the fixed part has been configured: 02801180.
The start index is 8, and length is 5.
This means that the following part is the variable part:
02801180070405
The number of decimals is 3, which results in a quantity of: 07.040 = 7.04
The purpose of this value is the 'Net weight in Kg'.
So if the barcode 02801180070405 gets scanned on our client, the following happens:
- Check if the scanned barcode has a prefix available in the variable GTIN configuration
- Yes:
- Remove the variable part and check digit (This is the last digit) of the barcode: 02801180.
This value will be matched against the item master data. - Get the value of the variable part: 7.04
- Store that value in the field defined in the 'Value purpose' of the configuration: Net weight = 7.04 Kg.
- No:
- This will be regarded as a normal GTIN, and the barcode 02801180070405 will be matched against the item master data