I'm trying to write an application that will attach an existing contact to a customer. When I try to do this I get the following error:
You do not have permissions to set a value for element lastmodifieddate due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.
If I create the contact in prior to attaching them to the customer it works.
Any help would be greatly appreciated.