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
thechadthechad 

Update Account Object - Error Invalid Type 'sObject'

A strange error is occuring.  When I try to update an Account type, I get the error: INVALID TYPE: type 'sObject'

I use the same code to update the Opportunity object, and it works fine.

The array I am passing looks like this:

Code:
$update_array[$y]['type'] = "Account";
$update_array[$y]['Id'] = $accounts[$i]->AccountId;
$update_array[$y]['Marketing_Touched_Status__c'] = "true";
I am using the PHP salesforceclient (w/ nusoap). 

Thanks for any help  / direction you can provide.
 

Message Edited by thechad on 05-21-2007 12:19 PM