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
Eric FortenberryEric Fortenberry 

Convert Lead Other Phone (custom object) to Contact Other Phone (std object)

I would like to import leads with two phone numbers, direct phone and other phone.  Direct phone will be the standard phone field and I created a custom field for other phone.  After that when I tried to map the custom other phone to contacts other phone I was not able to because Other Phone on the Contact is a standard field.  What is the best way to update the Other Phone number on the Contact when converting the lead?

Best Answer chosen by Admin (Salesforce Developers) 
Paul.FoxPaul.Fox

Choose from the following options depending on whether you like data migration, workflow, or code.

 

Migration: Create a custom field on Contact named Other Phone and hide the standard field. You will have to migrate the values from the standard field to the custom field.

 

Workflow: Create a custom field called Other Phone Hidden on the Contact, then use a workflow rule on the Contact to update the standard field.

 

Code: Write an after trigger on Lead Convert that takes the Other Phone and fills in the Contact Other Phone field.