Barcode and GS1 scanning in an Infor M3 app on a phone
· Stewart Rutledge
Warehouses run on barcodes, but a lot of M3 work on the floor still means typing item numbers and quantities into a screen made for a desk. An H5 app built for a phone or a handheld scanner changes that: the user scans the label, the app reads the item, batch and quantity from it, and M3 gets the data without anyone typing it.
This article goes through what it takes to scan barcodes and GS1 labels in an Infor M3 H5 app on a phone, what the parts of a GS1 label mean, and a goods receipt example that goes from pallet label to M3.
An H5 app that works on a phone
H5 apps for Infor M3 have mostly been built for a PC screen. On a phone, a wide list with ten columns and a row of buttons doesn't work, and a separate mobile version is one more app to build and maintain.
Every app Loupe Code builds lays itself out for the screen it's opened on. On a phone:
- lists become compact rows
- the actions for a row sit behind a single button
- the search criteria fold away after a search
- dialogs slide up from the bottom of the screen
- buttons and fields are big enough to tap
It's the same standard M3 H5 app on every device. It opens in H5 in the device's browser, so there's nothing to install from an app store, and like H5 itself it needs a connection to M3. While you build, the preview in Loupe shows the app on a desktop, a tablet or a phone, and every build checks that the phone layout fits before you see it.
Scanning with the camera or a hand scanner
A field that takes a barcode can open the camera on a phone or tablet. It works in the browser, so there's nothing to pair or install. The app beeps on every good scan, and on Android phones and scanners it vibrates too, so the user knows it worked without looking at the screen.
Hand scanners work in the same field. A rugged handheld or a ring scanner that types what it reads goes straight in, so you can use the devices you already have, and mix them.
Pointing the camera at a label with several barcodes reads them together, and scanning several items in a row works without tapping anything in between.
What's in a GS1 label
Most pallet and carton labels from suppliers follow the GS1 standard, as GS1-128 barcodes or GS1 DataMatrix codes. One code holds several pieces of data, each starting with a number in brackets called an application identifier. The ones you'll see most often:
- (00) SSCC. The serial shipping container code, an 18 digit number that identifies one pallet or package.
- (01) GTIN. The trade item number of the item itself, 14 digits. An EAN-13 on a carton is a GTIN with a leading zero.
- (02) GTIN of the contained items. Used on a pallet or case label to say which item is inside, usually together with (37).
- (10) Batch or lot number. Up to 20 characters.
- (17) Expiry date, written as year, month and day (YYMMDD).
- (37) Count of items in the pallet or case.
Others you'll come across are (15) best before date, (21) serial number and (310n) net weight in kilos, where n is the number of decimals.
A pallet label might read:
(00)106141411234567897
(02)00614141999996(37)40(10)LOT2311(17)271231That's pallet 106141411234567897, holding 40 of item 00614141999996, batch LOT2311, expiring 31 December 2027.
Some parts have a fixed length and some don't. In the barcode itself, the brackets aren't there, and a variable length part like the batch ends with a special separator character when another part follows it. That's why reading GS1 properly takes more than splitting the text, and why a scanned label typed into a plain M3 field is rarely usable as it is.
A GS1 aware scan field gives the app each part separately: the item, batch, serial number, expiry and best before dates, quantity, net weight and SSCC.
From GTIN to your M3 item number
The GTIN on a carton isn't your M3 item number. Many companies already keep the link between the two as item aliases in M3. A scan field in a Loupe Code app matches the GTIN or EAN it reads to your M3 item through those aliases, so scanning the box finds the item.
Example: receiving a pallet against a purchase order
Here's the example from the video at the end of this article. The app is for goods receipt:
- The user scans the pallet label with the phone's camera.
- The app reads the GS1 label, finds the M3 item from the GTIN, and picks out the batch, expiry date and quantity.
- It shows the item's name and on-hand balance from M3, so the user can see it's the right pallet.
- The pallet is staged for the goods receipt, listed with the lines received so far, and the user scans the next one.
The app was built in Loupe Code in a few minutes from a description of the job. Like everything Loupe Code builds, it's installed in M3 and runs with the user's own M3 login and authority.
What it doesn't need
There's no extra licence for the people using the app. A standard H5 app runs on the M3 login people already have, whether that's ten people on the floor or a thousand. There's no separate mobile platform to administer either, and access follows the M3 roles you already maintain.
If you're comparing ways to get an app like this, what to ask before choosing an Infor M3 customization tool goes through the questions worth asking any vendor, us included.
Questions we get
Does it work offline?
No. Like H5 itself, the app needs a connection to M3, so the device needs Wi-Fi or mobile data where it's used.
Do we need special scanners?
No. The phone or tablet camera works as a scanner, and hand scanners that type what they read work in the same field.
Can we change the app later?
Yes. You change it in Loupe Code by describing the change, and the source is yours. See building an H5 app for Infor M3 from a description.
Have a job on the floor that still runs on paper or typing? Send it our way and we'll show you what Loupe Code builds for it. Reach out at hello@loupeapp.net, or read more about H5 apps for mobile.
This article started as a post on LinkedIn. Join the conversation there.