Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Description
The device/app can be configured to convert custom barcodes formats to GS1.
Converters 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.
Info | ||
---|---|---|
| ||
Examples
Android
Custom barcode broken into four AI's
Different positions of a barcode value, is broken into several "AI". See table below.
Code Block | ||||
---|---|---|---|---|
| ||||
... <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> ... |
Mapping table
AI | Position | Length | Description | |
1 | 2 | Organization, fixed value "64" | ||
10 | 3 | 8 | External Order No. | |
37 | 11 | 4 | Quantity | |
92 | 15 | 3 | Quantity per Unit of Measure | |
91 | 18 | 10 | SupplyID (Vores interne varenr) |
Image Removed
Online tool
- Regular expression
- ^(\d{1,6})(\d{1,5})$
- Testing string
- 11111122222
Image Added
Legacy: Windows Handheld Embedded
Code Block | ||||
---|---|---|---|---|
| ||||
... <type>internal</type> <converter enabled="false" type="pm2ean128" /> <!--First and up to 20 character--> <filter enabled="true"> <regex>^.{0,20}</regex> </filter> ... |
Online tool
Regular expression
- 11111122222
Image Removed
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Image Removed
Image Added
Links
- Online tool for building and testing Regular Expressions