Hi Everyone,
I have an app with the barcode scanner and I've been finding when people are scanning barcodes sometimes they scan duplicates and not catching/removing while scanning. This is a problem because we only want 1 barcode each saved into the database and since a barcode is scanned twice my check to see if the data has the barcode already doesnt work because the cloud doesnt update quick enough to see results before patching the next, duplicated barcode, so I'm left with duplicates in the database.
How can the system check, on scan, if the barcode scanned is one already in the active collection you are scanning? So if i'm in camera mode and I scan like this:
123345
32222
32222
....
I want the system, when I scan 32222 the second time to be like nope, already exists while scanning so it doesnt even have a chance to patch. Please help!