We have to fetch a single record from the data type and after fetching we have to update it and save back to the database.And all this needs to be done by saveable datapage.No UI or flow or flow action is involved.
For fetching the record we can give the source as Lookup but what should be the saveplan so that the fetched record can be updated and saved back to the data type?
The same lookup will also work for updating back to the data type. While saving, before the save datapage step, add a property set on the d page as step page where you have to set the new updated values, keeping in mind to set primary key as the actual one from the data type. This will enable the data page to recognize the instance and update it in the table.