A check box in the settings that would change the item selection from a drop down with available items to an input field that would validate off available items. Currently if you using a barcode reader and the item wasn't checked in properly it will just jump to the next item. Causing a domino effect of erroneous checkouts of items that are still in inventory.
I am starting to work on this but if anyone else has already ventured down this path help would be much appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | FirefoxScreenSnapz029.png | 12.49 KB | iPeat |
Comments
Comment #1
kreynen commentedDenver Open Media is looking at moving to a barcode reader too. I've spec'ed what it will take to do this well. I will post more details by the end of the week.
Comment #2
kreynen commentedSorry it's taken so long to get back to this. We had to scale back what we're developing for DOM based on their budget. This work won't change the checkout/in interface, but will combine a new module for with a UI for barcode input and a Views Bulk Operation for adding items as a node reference to a new merci_inventory content type. The VBO can be used without the barcode UI. Obviously using a scanner will streamline the workflow. The VBO can be applied to any View so you can create customized interfaces for different inventories. A nightly inventory of commonly checkout items, a full inventory of city owned equipment, etc.
Our current plan is to base barcode lookups will off of http://drupal.org/project/barcode. merci_inventory can be used to quickly push a new barcode field to all content types MERCI manages. The Barcode module can be used with existing barcode tags or to generate new barcoded labels.
This new code will be committed before Thanksgiving with some documentation and a screencast on how to configure it before the end of November.
Comment #3
kreynen commentedModule committed - http://drupal.org/project/vbo_barcode_select
Screencast created - http://openmediaproject.blip.tv/file/4389762/
Please try this out and give us feedback.
Comment #4
iPeat commentedThanks this looks great for doing inventory.
However my big concern is checkout, I haven't had the time yet see what it is going to take. But what I like to do is add a setting to merci that would change the selection input at check out from a drop down list to an input field that would except and validate a barcode reader. Because as it functions now if the item previously wasn't checked in properly it won't show up it the drop down menu and the barcode reader will just choose the next item in the list. Where if it was a text field it would input the barcode correctly then throw an error when that item wasn't in the list of available items.
Comment #5
kreynen commentedGetting the barcode functionality into the checkout form is on the to-do list. vbo_barcode_select was intended to be a first step. I'd like to get that in before the spring semester starts, but I think using a single text field to "scan into" like the inventory Views is better approach than just using the scanner on the existing form. Obviously the vbo_barcode_select can't be used on the checkout form because it isn't a View, but the javascript written for vbo_barcode_select can be adapted to work with MERCI's select lists on checkout.
This approach solves the problem of selecting the item that starts with the same letters or numbers. With the vbo_barcode_select.js, if there isn't an exact match the "Barcode not found" error is shown. This also has the added bonus of not requiring a setting to know whether the computer doing the checkout has a scanner attached. The form can be used with or without the scanner.
Making these changes to the javascript and loading the script in the check-in form is probably < 2 hours of work. Unfortunately that would only work for sites that use the barcodes as the title of the node. So far, yours is the only site I've seen like that. Most sites use human readable names for their Bucket nodes.
To develop a solution that works for everyone, we need 2 more things...
- Barcode field selection (like vbo_barcode_select, the field that contains the barcode value should be flexible)
- Barcode field values of available items and corresponding node ids loaded as JSON or looked up via AJAX so they are available to the javascript. Ideally this would be filtered by the user and dates like the select lists themselves. JSON is easier, but AJAX would be more flexible. If someone returns an item after the checkout form is load, AJAX would allow that. JSON would require the form to be reloaded.
None of this is extremely complicated, but I don't have time to do it now. I'm always happy to review patches!
Comment #6
iPeat commentedExcellent thank you for the feed back. Your work is much appreciated, I have a number of other projects I am working on right now as well but this gives me something to start from. Thanks!
Comment #7
iPeat commentedThis is still something that is high on my wish list as well as a barcode input for users. Will take a look at this again this summer and see if there is anything I can put together. If anyone else wants to take a look at it as well it would be much appreciated.