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
sf_davesf_dave 

convertedStatus in ConvertLead has no effect (php toolkit 1.1)

I'm having a problem where the convertedStatus (which used to work) is always being set to Prospect instead of Qualified.

Our integration's LeadConvert object sets the following:
convertedStatus           => 'Qualified',
leadId                    => 'XXXXXXXXXXXXXXXXXXXXX',
opportunityName           => 'My Opportunity',
CreateUser                => 'XXXXXXXXXX',
ownerId                   => 'XXXXXXXXXX',
doNotCreateOpportunity    => 0,
overwriteLeadSource       => 0,
sendNotificationEmail     => 1


However after the lead is converted into Account, Opportunity, Contact, the Opportunity still says Prospect as its Stage.  I can change the Stage to Qualified in a subsequent update but it leaves the Prospect stage in the Stage History.

Any insight is appreciated.

-Dave