I want this output in list3I have two list
with Custom Data Type
list1 = {A, B, C, D}
[enter image description here][1]
list2 ={ X, A, B, Y}
Then I need to remove A, B from list1
and Add A and B from list2
with list1.
list3 = { A(list2), B(list2), C(list1), D(list1)}
See Above Image, I want those items whose ts_key = 0 and if those records are already in list then get ts_key <> 0 for repeated record