I am working in a Client project for request management. In a screen, there is a table from the entity. My requirements is as follows1) There is dropdown in the table like below, if we click on delete and submit for that request ID. The row should be deleted only from that table but not with database. I have a boolean entity called "Delete Flag". I have to do use this and delete the data from the table in screen not in Database. Please share sample OML. It will be useful. Thank you in AdvanceAJAY SAMINATHAN
Hi,
if your table is from database and the database table has deleteflag, u just need to filter the database table to populate the dropdown table.
Hello AJAY SAMINATHAN, In the following post, you will find some examples of how soft deletes are usually implemented. Get your inspiration from it:
Best regards, Ana
Hello Ajay,
As ibox replied you need to a filter whie populating the dropdown : deleteflag = False
Then on button click update the record as deleteflag = True. No need to delete the record.
At last refresh the UI.
Regards
In Your aggregate please add a Filter as "deleteflag = False" .
On button click just set that record's current deleteFlag variable as True, and refresh the aggregate.
It will show you desired output.