Requesting for logic

Certified Associate Developer

I have two values consider type is CDT: 

local!oldData: {
customer: "oldCustomer",
location:"Hyd",
supplier: "ABC"
},

local!updatedData: {
customer: "newCustomer",
location: "Hyd",
supplier: "DEF"
}

I want to give response only the updated values like follows:

fieldName: customer
oldValue: oldCustomer,
newValue: newCustomer,

fieldName: supplier,
oldValue: ABC,
newValue: DEF

Can anyone please help me to build logic for it.

  Discussion posts and replies are publicly visible

Parents Reply Children