Closed alexjelin2100 closed 5 years ago
Hi @alexjelin2100
the easiest way to create/update relationship is to use lookup fields and EntityReference to set the value, e.g.
$lead->contactid = new EntityReference( 'contact', 'GUID HERE' );
$lead->update();
HTH George
Hello. Currently, I'm creating an application that needs to be able to write information to Dynamite CRM. My question is how to record references from an entity to another entity with this library. I've looked at another similar topic here, but I've found some good examples of how this procedure would be.
Thanks in advance for the answers.