Question on implementing a smart relationship using AfterFind hook

Hi @Louis-Marie,

As far as I know, the technique you mention at the beginning of your message is for the smart fields, so you have to populate the original record (kyc in your case) with some raw value (but you are trying to apply an entire object).

I think what you are trying to do is not supported.
I am going to ask to other people more skilled in this kind of task.