# Barcode Scanning

**URL:** <https://www.epiusers.help/t/barcode-scanning/38689>\
**Category:** Epicor ERP 10\
**Created:** [June 1, 2017, 3:43pm UTC](https://www.epiusers.help/t/barcode-scanning/38689 "2017-06-01T15:43:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tev](https://www.epiusers.help/letter_avatar_proxy/v4/letter/t/5daacb/32.png) [@Tev](https://www.epiusers.help/u/Tev)\
**Post date:** [June 1, 2017, 3:43pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/1 "2017-06-01T15:43:58Z")

</div>

Hello All,  
Is it possible to configure Epicor so that when a barcode gets scanned, the data gets sent to the correct field based off of the Data Identifier? Can this be accomplished with a BPM?

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [June 1, 2017, 4:11pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/2 "2017-06-01T16:11:27Z")

</div>

Not following exactly what you mean. A barcode is nothing more than an easy way to type things. Can you elaborate?

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2017, 4:20pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/3 "2017-06-01T16:20:55Z")

</div>

Hi Tevin,

I think you’re on the right track to use the barcode to drive the data to the right field. Others have used tabs and tab order but that can get brittle if the tab order changes or the system slows down and overruns the fields.

We are looking at this here as well and I’m imagining a field that we click in and scan the barcode into it and a customization would drive the data into the various fields.

Mark W.

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2017, 4:33pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/4 "2017-06-01T16:33:29Z")

</div>

For some labels, like the AIAG format, the data contains “extra information”

![](https://epiusers.help/uploads/default/original/2X/1/1878f1f810e0c2b65c1f2718e156eea579fffe24.png)

The Part number is prefaced with a “P”, the quantity is prefaced with a “Q”, the PO number “K”, etc. The barcode tells you what the data is so the software must strip off the first character to leave you the data but if you know it’s the part number, why not just stuff it in there? Or at least, send an error message if you were expecting the part number and got the PO Number instead.

Mark W.

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [June 1, 2017, 4:42pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/5 "2017-06-01T16:42:50Z")

</div>

ah! I get it now, yeah this would have to be customized. We’ve done this a few times but the downside is that it requires customization to each screen no way to globally do this.

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2017, 5:25pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/6 "2017-06-01T17:25:08Z")

</div>

Would it be possible to create a “floating screen” that accepted all barcodes and send them to an active screen? You would need some kind of listener in the Epicor form. That could cut down on the customizations. Just a thought…

Mark W.

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [June 1, 2017, 5:33pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/7 "2017-06-01T17:33:20Z")

</div>

You would still hve to write the listener on every form…and determine the action…it’s doable but not ez

---

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [June 1, 2017, 5:39pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/8 "2017-06-01T17:39:50Z")

</div>

Very true, but at least all of the barcode processing would be in one place. Still a PITA…

---

<div class="post-metadata">

**Author:** ![Carson](https://www.epiusers.help/user_avatar/www.epiusers.help/carson/32/28741_2.png) [@Carson](https://www.epiusers.help/u/Carson)\
**Post date:** [June 1, 2017, 5:46pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/9 "2017-06-01T17:46:41Z")

</div>

I really like the approach of a barcode containing more than just the data. My approach has been to not just fill in the data but make the needed action too. I can’t imagine needing it on a huge number of screens. To me the logical screen to place it on the the main MES screen. I ran into a fun feature on the MES screen when doing that. There are hidden hot keys on the MES screen. For example after an employee has clocked in, pressing “c” closes the screen. My initial barcode had a “c” in it which caused the screen to close…

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [June 2, 2017, 12:02am UTC](https://www.epiusers.help/t/barcode-scanning/38689/10 "2017-06-02T00:02:58Z")

</div>

Now this is my kind of discussion.

I also like the idea of encoding command data - I actually did that this past year to facilitate an inventory using EXCEL and a buttload of horrible VB - worked like a champ, got me some office cred too.

Mark is 100% correct about the potential pitfalls of tabs - we run into that now on my heavily customized inv transfer screen. Of course in our case, our network and E10 servers are not very good on reliability and performance and still we dont have too many problems.

Jose is correct that really the only way to do this (easily) is via customizing every screen you want to affect which sucks. There is the sketchy possibility of installing a global keyboard hook on the OS and doing and some preprocessing but I dont think it really solves the issue of ensuring the proper field is being populated (unless we start utilizing Windows Messages to communicate to the E10 forms… bleh, seems like more work than touching every form customization) - and messing with OS tends to be frowned upon - besides you’d be processing ALLLLLLL keystrokes on the OS.

It would still require key preview on all the forms lest you want to make one massive onChange function that has to be applied to every possible control. Even still - with form key cap, if you want your code to be copy/pastable on every screen, you’d have to keep a standard naming convention on all the references to your controls on each form.

A relevant article:

> **[Capturing Keypress With Windows Message Filter - Sparx Engineering](http://sparxeng.com/blog/software/capturing-keypress-windows-message-filter)**
>
> Recently I ran in to a situation where I had to capture keystrokes at the application level and launch an action based on the keystroke.  I tried using the ‘keyPress’ event for the main form, but it was hit or miss based on which control had the...

Now that I’ve rambled - Carson mentioned that you probably wouldn’t have to touch alot of forms, I agree. BUT If you are modifying the part number data on your labels, you would have to modify EVERY place possible you would scan that modified PN to ensure the system understands it (still most likely a handful of screens - but dont forget any programs external to E10 will need some attention too).

Dont forget your selected barcode format will also affect your available characters - definitely would avoid anything less than CODE 128 for this application

I offer up a solution for 12 credits 😃

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [June 2, 2017, 3:36pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/11 "2017-06-02T15:36:20Z")

</div>

Would it be a better solution to make a separate barcode for the purposes of the form filling in? 2D barcodes (If you have the right scanners) could probably have all of the information that you would need on the screen in one barcode (looks like up to 2000 characters). So you had a listen that just listens for one key combination at the beginning of that 2d barcode and that fires a process that parses out and places all of the information in one scan, that would save a lot of time. You could still leave the 1d barcodes alone for use in other places. You could customize the parsing placing for each screen so that it could ignore information that it doesn’t need.

Bartender can concatenate that information you need upon label creation, and add in the listen special characters and whatever else you need to build up the string to get this to work (like code type labels like the P in front of part number for example), if you are using bartender to create your labels, which I would recommend because it’s a much easier way to make labels.

So the label would maybe look something like this

![](https://epiusers.help/uploads/default/original/2X/d/d78e57abbcc7a5f36529cc0d7e5ed5ac37b380bd.png)

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [June 2, 2017, 3:46pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/12 "2017-06-02T15:46:54Z")

</div>

I really like this idea… too bad I have cheap scanners 😢

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [June 2, 2017, 3:48pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/13 "2017-06-02T15:48:24Z")

</div>

Quick google search for one, first thing I see is $165. If you get one and prove the process, they will pay for themselves in a matter of days.

[https://www.amazon.com/Barcode-Imager-Scanner-TK-3488-2D-V2-TK-3488-2D-V2-STAND/dp/B00KALKRIE](https://www.amazon.com/Barcode-Imager-Scanner-TK-3488-2D-V2-TK-3488-2D-V2-STAND/dp/B00KALKRIE)

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [June 2, 2017, 4:13pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/14 "2017-06-02T16:13:39Z")

</div>

Another option instead of the listen, is to have a BPM form open on the start of the form, and the scan could happen then and the BPM form could parse the information to the screen. If the listen part is the hardest part of the project, that would replace that without too much issue.

I think I am going to try to get this to work with an MES screen. I will post progress (and obviously questions!) as I attempt to work through this. It may take me a few months to fit it in, but I think would be a worthwhile attempt.

---

<div class="post-metadata">

**Author:** ![Carson](https://www.epiusers.help/user_avatar/www.epiusers.help/carson/32/28741_2.png) [@Carson](https://www.epiusers.help/u/Carson)\
**Post date:** [June 2, 2017, 5:46pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/15 "2017-06-02T17:46:48Z")

</div>

If you can guarantee all your clients are Windows 10 you might want to look at the barcode scanner class.  
When I looked at it in the past it looked good and would cleanly separate the barcode scanner from the keyboard.

> **[BarcodeScanner Class (Windows.Devices.PointOfService) - Windows UWP applications](https://learn.microsoft.com/en-us/uwp/api/windows.devices.pointofservice.barcodescanner?view=winrt-22621)**
>
> Represents the barcode scanner device.

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [June 3, 2017, 4:46pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/16 "2017-06-03T16:46:19Z")

</div>

CK71 Handhelds can be configured to capture multiple barcodes at once and you can program how it should process it. In addition, you can have it eat Prefixes (P, K, Q, 1T, S…) [I havent used this feature yet]

You could also try embedding the \t (tab) into your barcode perhaps the UI will treat it as a tabe to the next field.

In E10 I think the PCID Feature is meant to be the “License Plate” and as you can scan it, it would Process all other information.

Just beware whatever you do try to stick to Code39, Code128 - it is very unlikely your company has high-end portable/stationary scanners that support those PDF Barcodes etc… =)

In E9 I created my own PCID but that took quite some work. I know where you are coming from.  
 ![](https://epiusers.help/uploads/default/original/2X/5/54487209b9eac998ba12e2fde217aef868806bde.png)

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [June 3, 2017, 5:01pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/17 "2017-06-03T17:01:15Z")

</div>

I’m dying to learn all about PCID and how to implement it in E10… alas there are only so many hours in the week (including my time on the weekends too)

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [June 3, 2017, 6:01pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/18 "2017-06-03T18:01:27Z")

</div>

I haven’t used it yet since it wasnt quite ready (In 10.1.400.x atleast only the Setup Screens were ready).

For the time being I have my own PCID Engine which also accurately lets Machine Operators Print Customer Labels taking some weight off the Material Handlers. Handles Mixed/Master/Multi-Master labels and works with BarTender Re-Print Console etc…

 ![](https://epiusers.help/uploads/default/original/2X/2/2b9c5ab7b098f25471409c3f55dd1cd3c40a4d8a.png)

 ![](https://epiusers.help/uploads/default/original/2X/e/ef69c5d39eb0453af2d052e5bb4acc8675aaf848.png)

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [June 3, 2017, 6:24pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/19 "2017-06-03T18:24:01Z")

</div>

Very impressive, sounds like we have similar needs. So where’s that  
download link? 😂

I really would love to hear more about your implementation!

---

<div class="post-metadata">

**Author:** ![fredmeissner](https://www.epiusers.help/user_avatar/www.epiusers.help/fredmeissner/32/58009_2.png) [@fredmeissner](https://www.epiusers.help/u/fredmeissner)\
**Post date:** [March 12, 2018, 7:08pm UTC](https://www.epiusers.help/t/barcode-scanning/38689/20 "2018-03-12T19:08:39Z")

</div>

Did anyone make any progress on this? We are trying to implement something like that here and I am not sure what the best way to go about it is.

[Next page](https://www.epiusers.help/t/barcode-scanning/38689.md?page=2)
