Convert Leads to a Person Account and a Business Account at the Same Time with New LeadConvert Methods
Where: This change applies to Lightning Experience in Enterprise, Performance, and Unlimited editions.
How: For Salesforce orgs that use APEX Lead Convert, Person Accounts, and Contacts to Multiple Accounts, new methods are available on the LeadConvert class. The getRelatedPersonAccountId(), setRelatedPersonAccountId(), getRelatedPersonAccountRecord(), and setRelatedPersonAccountRecord() methods allow converting leads into a business account and a person account instead of a contact.
The new getRelatedPersonAccountId() method in the LeadConvertResult class returns the ID of the new or existing related person account.