+ Start a Discussion
CasselJCasselJ 

apex leadConvert always merges account in production

I have a vf page and apex controller that convert leads. 

It works wonderfully in the sandbox but it merges in production.
 

Any help is appreciated

AbhishekAbhishek (Salesforce Developers) 
CaseelJ,

Compare the debug the logs in both sandbox and production while doing the operation, then you will get to know what causes this behavior.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.