I am updating table LeadBase by inserting from a .net application. When inserting 1 record I have a GUID auto created as: “00000000-0000-0000-0000-000000000000”, when inserting another record I am getting a key constraint conflict. I believe this is due to the next record I am trying to add is trying to use GUID “LeadId” as “00000000-0000-0000-0000-000000000000”.
Is there a way using .Net, with a previously added GUID (leadId) to generate the next GUID “LeadId” as CRM would do via the user interface.
When inserting a record to LeadBase I am not passing a LeadId, but letting SQL chose this for me.
I'm Using CRM 2013 on Premise and SQL Server 2008R2
*This post is locked for comments