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
Peter OguferePeter Ogufere 

Unable to change the value of an owner (Picklist) C#

Hi there I'm new to salforce integration and I'm working on an integration with C#. I have been able get the upsertResult- transfer data from my SQL database to SF. The problem is: I have a field in my database that contains the Owners of an account and i want it to populate the Owner field which is a picklist field. I get this error when I try to. Please see screenshot below.

error

Any ideas please?
Dev AngelDev Angel
The owner field is driven by the OwnerId field. Owner is not a valid field on the Account object.  Check out https://workbench.developerforce.com. It's a tool that allows you to easily see what valid fields are on any object and what the accessibility is on the fields for the logged in user.