+ Start a Discussion

php_sforce_nusoap - Lead Assignment Rule

The client I'm working for has a Lead Assignment Rule set, consisting of 17 rules with a catch-all.

I'm creating Leads with nusoap, and they're appearing in SalesForce beautifully. However, they all retain "website" as the Lead Owner. They shouldn't. They should be routed to new owners.

I believe this has to do with the useDefaultRule setting, but I've no idea how to set it with php_sforce_nusoap. Can I simply add it as a name/value pair to my sObject?

there was a problem with the namespace of the header that has been fixed in the latest release. please download php.sforce.nusoap.20051206.zip and give it a try. the example.php file shows it in use.

tell me if you have further problems.