Skip to main content
dinesha5713
November 12, 2024
Solved

Separate the new details from old details

  • November 12, 2024
  • 3 replies
  • 0 views

This is my interface in here by "Add New Row" i will add new details, while submitting all details which is displaying here will send to RI,

but i want to send the only newly added details, how to separate the new from the old details, the new details will be add with the old details(it be local) only

Best answer by stefanhelzle0001

Create a separate local variable holding a copy of the original data. Make sure to use a!refreshVariable to keep the original state. Then you can use the difference() function to get new or removed items.

3 replies

stefanhelzle0001
November 12, 2024

Create a separate local variable holding a copy of the original data. Make sure to use a!refreshVariable to keep the original state. Then you can use the difference() function to get new or removed items.

dinesha5713
November 12, 2024


in the same as of now when the edit icon clicked. it is considered as edited so i will send the respective row to ri,

But how i needed is ,

i need to check the particular rows old value and new value .if there is any difference then only i want to push the details to ri
is there any easy ways to achieve it

stefanhelzle0001
November 12, 2024

You will have to compare the values of the modified rows and append them to the RI in case they differ.