if you use a barcode scanner that goes through the keyboard the only code change is to set the field as defualt for cursor. The barcode scanner can be programmed to send a CR which activated the look up.
Yoke Power sent the following on 11/14/2011 4:37 AM: > Appreciate your detailed response Bilgin; I do understand Product > lookup by ProductId is supported out of box in Ofbiz; however I'm > looking forward to automate product look-up in the above mentioned > screens using Barcode scanner i.e When I scan the product barcode the > productId should automatically be keyed in the ProductId field; With > further research; it appears there are a couple of options including > - Integrate Barcode Applet with Ofbiz Managemant screens <requires > handful of code changes> > - Use Barcode scanner with keyboard simulation and keep the cursor on > the ProductId field and scan the barcode; Scanner will display > ProductId in the field <no code changes required; as this depends on > the hardware fearure> > Anyone has success <or complaints> with the above options <or others>? > Appreciate your thoughts! > > - Sakthi > > On 11/13/11, Bilgin Ibryam <[email protected]> wrote: >> Hi Sakthi, >> >> On Fri, Nov 11, 2011 at 1:06 PM, Yoke Power <[email protected]> wrote: >>> Hi Ofbiz Users, >>> >>> Context: Has anyone done hands-free barcode scanning <for ProductId> >>> in Management apps <Order Manager, Catalog Manager>? >>> >> >> If I got it right, what you want is easily doable with a little bit of >> coding. >> >> GoodIdentification contains the mapping between barcode number and >> product Id. And Catalog Manager app already provides screens for >> managing product codes/Ids. Also the main (first) screen in catalog >> manager app has "Find Product with ID Value" field that uses the >> product Ids. I suppose you need something similar for the Order >> Manager app, where you can find products by its barcode and then >> create order. >> >> The only thing that have to be extended is to include also the >> GoodIdentification in the product search. For an example you can even >> use WebPos application, it does something similar. >> >> HTH >> Bilgin Ibryam >> >> >> >>> Approach: I do understand the above is supported out of the box in >>> POS; however I need the above support in Management Apps; I'm able to >>> extract the text from the scanner, I need some pointers or some sample >>> code for integrating them with the Management screens; >>> >>> Highly Appreciate any pointers on this; >>> >>> - Sakthi >>> >>> >>> >>> -- >>> Sent from my mobile device >>> >> >
