I have a requirement to update the existing record including the primary keys on click of a button, When i click on submit the changes that made in the form should replace the existing values that are in the old record including the primary keys. is there any process that i can do to do these with out creating a duplicate record.
***Edited by Moderator: Pooja Gadige to change category from General to Product, add product details tag, add capability tag***
You can do this using activty. Call the actvity in the post processing. Pass the Primary key value that you want to change to Obj-delete by Handle . then set all the porperties to add the record with the data given in UI. and use Obj-save with write now option.
But , I dont understand why do you need to change the primary Key value , If you are changing it then DB never thinks it as duplicate record.
Hope this helps
Posted: 5 months ago
Posted: 14 Jun 2023 3:59 EDT
Suryavamsi Ragala (SuryavamsiR)