Hi, I do have requirement to create POS software with very very minimum requirement. I can upload the inventory details with price to the database for time being. When the user scan the bar code (UPC) of the item , then system need to pull the corresponding item from the database and display it in the screen and cursor should should be ready to scan the next item. Once all the scan items completed then just save the info into the sales table. Can any one please help me to get the sample code to pull the data from the database when we scan. Please help. Store manager is thinking to do manual system, since I am interested in development, I am thinking to help them using technology. Thank you
@martinbean . Thank you very much for your reply. Actually I am not looking for any code and I need only the guidance to move forward in the right direction. I have experience in CRUD but in POS I think we need to split the screen into different content and typing the item code or bar code needs to pull the data immediately. I do not have experience so I am kindly requesting to share the right terminology for such techniques so that I can google it and start coding by myself
@bhhussain Most physical barcode readers will emulate keystrokes. So when you scan the barcode, it’ll send the text of the barcode as a sequence of keystrokes to the device it’s connected to. So you’ll need to have a text input focused to receive the keystrokes, and submit the form to look up your product.
I think some readers will also send a special character of some sort to let you know the “end” of the barcode (I worked on an EPOS system, but it was a while ago now). You’ll need to consult the documentation of the reader you have to see if your reader does this, and what character it is if it does send one. When your encounter that character in your input, that will be your cue to submit the form to look up items matching that barcode.