(See the first screen which has your username on it.)
There used to be a bug with the Get Value block in Thunkable. I don’t know if it has been fixed yet. I noticed that when the inventory value is 1, it doesn’t subtract 1 the next time you click the Scan button.
do I need to give any value to the “scanned barcode” part and the part below it, or can I make a reduction if I make the parts here directly to my code page and get the amount of inventory that matches the barcode directly @tatiang
i have tried the codes, but what I want to do is how to give the number of the scanned barcode to line a, which should appear in front of the user, when he scans, the user will add the barcode by scanning it himself, if I do it according to the list, this will not happen, so I’m wondering if I can do something to scan the data, so the user added 100 products for example, when he entered here, when he clicked the scan button, I want the number of stocks to come according to the barcode he scanned, how should I make changes here (i.e. should I do something to find the row id itself to pull it by the barcode number @tatiang
The project I provided is just a starting point. You should be using variables to store things like scanned barcodes. So yes, you need to replace the sample value I provided with one from the user.
You can look up the inventory value for a specific barcode by looping through the rows of the table (as I showed in the project and if the barcodes match, then display that inventory amount. I think that’s what you are asking. The project already does this, by the way.
@tatiang
finally, when I update the number of stocks, the number of stocks remains the number of stocks that came first, even if I go out and enter it comes as the number of stocks that came first, when I press the “-” button, how do I update it, how do I show the number of stocks that have been replenished
Yes, the inventory amount is updated when I log out through the application is there any chance to update it without logging out of the application? @muneer
Hey muneer,
I’m experiencing the same problem with the get value block. It’s not updating until I close the app. Unfortunately, I’m having the same problem with the get row object block.