08-04-2011 06:14 AM - edited 08-04-2011 06:29 AM
I'm just wondering if I'm doing something wrong or if there is a bug or this is "working as designed" with the above method.
Here is my call:
Now the method works and creates the Company, however it does not associate the Contact with the Company. I had thought that the method would work similar to how it works in the Application.
I suppose I could simply use the Companies.UpdateLinkedContacts(comp, c) if that is how the Create method has been
Curisor and curisor! Looks like I have to set the link first before using the UpdateLinkedContacts (I suppose it makes sense), so now its c.SetCompanyLink(comp); c.Update; Companies.UpdateLinkedContacts(comp,c);
08-04-2011 06:32 AM
This is the intended behavior for this method, as you're already aware there is a another method for linking a contact with their company, I believe the idea is to not assume that the person creating the company also wants to have them linked.
08-04-2011 06:57 AM