function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FdeBergeyckFdeBergeyck 

Error message when trying to update some fields

Hello,
 
I want to override the convert button (for leads). The problem is that when I try to update the IsConverted, ConvertedOpportunityId, ConvertedDate, ConvertedContactId, or ConvertedAccountId field, I get an error message that says that I have to check the security settings of those fields, and check whether it is read/write for my profile (but my profile is administrator). I get the same error message when I try to update the RelatedId field of a Group.  Do anybody have any idea how I can update those fields?

Thank you very much,

François

TCAdminTCAdmin
FdeBergeyck,

I think that what you are looking for is the convertLead call.  http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_convertlead.htm.
FdeBergeyckFdeBergeyck
Exactly! Thank you very much Chris! Know it works perfectly...

Message Edited by FdeBergeyck on 10-23-2007 07:38 AM

FdeBergeyckFdeBergeyck
Ok, thank you very much for all your help! I will see what the best is with the company.
 
thank you again,
 
françois