You have chosen to sponsor your bid up to a maximum amount of .
Hi I am looking for someone who could help me fix a Dynamics CRM SDK issue.
I need to create "Phone Call" activity from C#. Below code works somewhat ok, but I cant set Sender and Recipient and Regarding fields.
Also "Mark Complete".
Please bid only if you can provide me the support urgently. Thanks
PhoneCall pc = new PhoneCall();
pc.PhoneNumber = p_phonenumber;
pc.Category = countrycode;
pc.RegardingObjectId = new EntityReference("Account", new Guid(account_Contact_id));
pc.RegardingObjectId = new EntityReference("Contact", new Guid(account_Contact_id));
//needs to set Sender and Receiver
pc.DirectionCode = true;
pc.Subject = "PhoneNumberNotWorking";
pc.Description = "Phone number " + p_phonenumber
+ " is invalid. The number was deleted."
+ "\nEntity is an Account: " + isAnAccount.ToString()
+ "\nAgent/Contact ID: " + account_Contact_id
+ ",\n Agent/Contact Name: " + account_Contact_Name;
//pc.OwnerId.Id = new Guid("E5B3E60A-8C94-E211-89C9-005056AD001B");
//pc.StatusCode.Value = 1;