I am working on a delete operation for an application studio app. I need help on how to push the updated DataView to the server and update the database.
Right now, this is my setup. The user lands on the landing page selects a record.
I think you want an empty dataview, do a GetByID for the record you want to delete into that dataview. row-update RowMod = “D” then call .Update with the record.
But what data are you trying to delete? Part Data, Customer Data, or UD data?
For example, if you delete the row from UD20 and then re-run your BAQ, that record would no longer be there on UD20 and would therefor not get returned again by your BAQ results.
…Unless it’s a left join! I hadn’t thought about multiple tables, sounds like you’d want to provide/create your own BAQ .DeleteByID aBPM code with the logic you need in that setup.