How to type the barcode on item arrival journal --> Line's EAN128/UCC128 field so that it give the item number and quantity?
For example:
Here if I type only 01M0001 and press enter it gives itemId "M0001" in Item number field and if I type only 30100 it gives the "100.00" in Quantity field.
What I want to do is to have item number and quantity together with one entered barcode.
It does not work if I type them together like it is on the picture.
How can I achieve it?
Thanks.
The decoding logic in class BarcodeEAN128, methode decode treats the GTIN (which is identified by the 01 application identifier) as a fixed length field of length 14 (compare to the macro EAN_LEN in the class declaration). Since your ItemId only has 5 characters, the following characters that would define the quantity are treated as part of the ItemId. If you increase the ItemId to 14 characters, it should decode the ItemId and quantity correctly. See also GS1-128 for a list of application identifiers and their length.