You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 25 Next »
The app can be configured to convert custom barcodes formats to GS1.
Global converters defindes in start.cfg will be active in the entire app, all the time.
So make sure to use it for identifiable barcodes i.e. with fixed lengths, to ensure the converter will only be triggered when intended.
Local converters can be made in application.cfg
Different positions of a barcode value, is broken into several "AI". See table below.
... <scanner> <type>internal</type> <converter enabled="true" type="custom2gs1"> <!-- BluCom --> <customConfiguration expression="^64(\w{1,8})(\d{1,4})(\d{1,3})(\w{1,10})$" expressionAis="10,37,92,91"/> </converter> ...
Position
Length
Description
1
2
Organization, fixed value "64"
3
8
External Order No.
11
4
Quantity
15
Quantity per Unit of Measure
18
10
SupplyID (Vores interne varenr)
Note: See Register with Encoded Barcode (GS1) for a list of default AI's.
Use https://regex101.com/ to construct a RegEx.
... <type>internal</type> <converter enabled="false" type="pm2ean128" /> <!--First and up to 20 character--> <filter enabled="true"> <regex>^.{0,20}</regex> </filter> ...