Director, Data, AI & CRM Systems

Dai dati alla decisione.
Dall'AI al valore reale.

Sono Nicola Grillo. Da 16 anni trasformo tecnologia in impatto di business: oggi guido la funzione Data, AI & CRM Systems di uno dei maggiori gruppi del gaming in Europa.

Qui sotto, l'archivio degli articoli tecnici pubblicati tra il 2010 e il 2020.

Archivio articoli

Microsoft Dynamics CRM, SQL Server, Scribe — 2010–2020

MS CRM 2011 - Manage the parent customer field of a contact


The following code set the paterent customer in contact entity. I was unable to find any documentation of this, I hope this will be helpful for you.
// Comment

//for contact entity
EntityReference myRef = null;
myRef= new EntityReference("contact", (Guid)myContact.ContactID); 
if (myRef != null) contactEntity["parentcustomerid"] = myRef; 
// Commit entity to CRMGuid 
Guid result = service.Create(contactEntity);

//for account entity
EntityReference myRef = null;
myRef= new EntityReference("account", (Guid)myContact.AccountID); 
if (myRef != null) contactEntity["parentcustomerid"] = myRef; 
// Commit entity to CRMGuid 
Guid result = service.Create(contactEntity);




Thanks 
Nicola Grillo