You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 27 Next »
The Mobile app can convert custom barcodes into the recommended Encoded Barcode (GS1)Barcode converters are configured using Mobile Configuration File
When you want custom barcodes only to handled on a specific page.
When you want custom barcodes to be handled in the entire app.
Since AI91 is regarded as "Item No." but without the length constraint of AI01, this can be used for many 1D (linear) barcodes like Code39 or Code128.
In this example the data is 14 char, but can be arbritary length since AI91 allows for this.
<page id="ReceiveLines" type="OrderLines" icon="mainmenureceive"> <title defaultValue="@{PageReceiveOrderLinesTitle}"/> <orderLinesConfiguration suggestQuantity="true" verifySingleScanRegistrations="false" actionOnEmptyList="ClosePage"> <service id="Receive"/> <list listId="OrderLines"/> <...> <scanToSelectBehaviour gs1SearchTerm="Item" behaviour="Auto"> <converter expression="^(\d{1,14})$" expressionAis="91"/> </scanToSelectBehaviour> </orderLinesConfiguration> ...
Different positions of a barcode value, is broken into several "AI". See table below.
... <scanner> <type>internal</type> <converter enabled="true" type="custom2gs1"> <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 an online editor to test your regular expressions.
https://regex101.com/