You need to sign in to do that
Don't have an account?
digitsung
update errors
I am attempting to update the 'Contact' table with the following codes.
custom fields:
MaxLoss__c (percentage)
update($id, $maxLoss)
{
$fieldsToUpdate = array('Id'=>$id, 'MaxLoss__c'=>$maxLoss);
try {
sObject = new SObject();
$sObject->fields = $fieldsToUpdate;
$sObject->type = 'Contact';
$contact = $mySforceConnection->update(array ($sObject));
$sObject->fields = $fieldsToUpdate;
$sObject->type = 'Contact';
$contact = $mySforceConnection->update(array ($sObject));
$sObject->fields = $fieldsToUpdate;
$sObject->type = 'Contact';
$contact = $mySforceConnection->update(array ($sObject));
Can you print the following for me?
print_r($mySforceConnection->getLastRequest());
print_r($mySforceConnection->getLastResponse());
-c