We have a Power App that is tied to a SharePoint list. There is a Text Input filed to record the Work Order Number, a drop down selector to select the Machine the record should be assigned to, a button for Start Batch and a button for Complete Batch. The are a dozen other button that on select increment integer by one. The basic concept of the app is to be able to record errors by pressing a button and thus incrementing by one each time. At the end the user presses Complete Batch button and all variables that have been incremented patch to the list record with the value recorded. We have an issue where users are entering duplicate work order numbers and thus creating duplicate information in the list that is throwing off reporting. We thought a method to control this would be to load the record into edit mode and give the user the opportunity to edit it again if the Work Order number entered is the same as an existing record. We figure by doing this we would disallow creating duplicate records. Some functionality that we want as well is to throw a waring when a duplicate Work Order Number is used.
I'm not sure the method to create this added functionality but thinking something along the lines of a lookup against Work Order Number. Our current app creates a new record upon pressing Start Batch button and patches every time a variable is changed (ie. Button press and integer incremented) so the record is readily available. Not sure how to code for this or even approach the solution. Any help would be appreciated!

Report
All responses (
Answers (