phpforce / soap-client

A PHP client for the Salesforce SOAP API
MIT License
81 stars 75 forks source link

Return upsertResult in the upsert function #29

Open jvlaar opened 8 years ago

jvlaar commented 8 years ago

It would be nice if the upsert() function would return a upsertResult object when called. Right now it's very hard to find out what went wrong when upsert isn't working.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_upsert_upsertresult.htm

jvlaar commented 8 years ago

I see that the call function already returns this to the upsert(), only for upsert to then ignore it.