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
danieljdanielj 

Need to update the value for custom created field in salesforce

Hi Support.
 
I am trying to update the value for custom field in salesforce. I have created the”StrikeIron Score” custom field under leads. I have set the datatype as numeric. Please refer the screenshot for the same
 
Custom field creation entry in sales Force.
 User-added image

I have written the code in wsdl file
User-added image 

 
I have passed the value for strikeiron_score in code (c#) like below
 
newLead.Strikeiron_Score__c = 200;
 
service.NewLeadUpdate(newLead)
 
When I run the source, the score value is not updated in sales force. It doesn’t throw any exception.
1. Please provide the solution for updating the numeric value for this field. We need to change the settings for custom field if any?
2. How can I update the different value each time when running the code with different value?
 
 
Gaurav KheterpalGaurav Kheterpal

Can you please provide your full code snippet?

Regards,

Gaurav