So a customer can have several contact persons, each with different electronic addresses.
What i want is when i pass contact details, FirstName,MiddleName,LastName with email, and phone
I want to detect if the details inserted already exist for that customer contact and retrieve it if not the inesrt a new record.
How can i do that?
i'm using smmContactPersonV2Entity for the insert.
I was able to do sth similar for DirPartyLocationPostalAddressEntity, where the insert of this method handled this alone, and i was able to retrieve the address if the address passed already exist and if not, it then created a new one.