Hi there,
I'm building a simple app which just puts data into an excel sheet.
At first you have to scan the order-number, which is also the primary identifier, and then scan all corresponding serialnumbers in a second inputfield. After that there's a button which submits the form and saves the values into an excel sheet in sharepoint.
That's working fine so far.
But now there's the problem that, if someone forgets serial numbers or just picket up less parts then needed, and then try to scan a second time, there is an error message, because the order number already exists in the sheet.
I've seen many topics about that, but I didn't found one which appends the data of the second scan to the first one. It is mostly everytime replaced through the Patch function. But I need to check if the order number already exists and then append the serial numbers to the already existing values, or, if the order number doesn't exists, add a new row.
It would be fine if this works without any user interaction, the workaround I was thinking about was kind of a landing page where you put in the order number and then get redirected to an edit form oder a new form to submit your serialnumbers, but I want it as one page so this isn't really a propriate solution....
Here's a screenshot of the actual App for better understanding.

Hope somone can help with this...