+ Start a Discussion
RichardC.ax220RichardC.ax220 

Cannot update NumberofEmployees in lead or account from S-Control

I'm working on an S-Control that updates several fields in accounts and leads. In both cases, the updates fails with "A duplicate value was specified for field 'NumberofEmployees' in object 'Account', duplicate value '61535' prior value '' (prior value could have been set to '' with 'fieldsToNull')"
When I don't update NumberofEmployees, the rest of the fields update OK.
I can update NumberofEmployees from the UI, but not through the API, at least the Ajax API.
What do need to do to make NumberofEmployees updateable through the AJax API?