Solved
CDT manipulation
If we need to update a value like status in cdt (multiple) with condition only update only where status =1
Is there a way to achieve this using updatearray and index or is the only option recreating cdt using a!foreach ?
If we need to update a value like status in cdt (multiple) with condition only update only where status =1
Is there a way to achieve this using updatearray and index or is the only option recreating cdt using a!foreach ?
Hi amitesh,
You can use updatecdt function
updatecdt(
cdt:ri!yourcdt[wherecontains(1,ri!yourcdt.status)],
fieldsAndValues:{
status:"Newstatus"
})
Hope this helps.
Thanks,
Sree Devi J R
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.