Skip to main content
On our quote object, we have a section called "Prepared For" and there is a Lookup Field to select a contact to associate with the quote. It may not be the same point-of-contact person as is on the Opportunity or Account, but it will always have to be someone in Salesforce as a Contact.

 

There are 3 more fields in this section: email, phone, and fax. As of right now, we select the Contact from the Lookup Field, and then have to manually enter the rest of the data. 

 

Is there a way to auto-populate those fields after selecting a contact instead of having to enter it manually?
3 respostas
  1. 19 de abr. de 2021, 18:04
    Hi Victoria,

     

    Yes you can create a workflow and three fields update under that workflow rule to update above fields.

    • Go to Setup | Create | Workflows & Approvals | Workflow Rules.
    • Click New Rule.
    • Object: Quote and Next.
    • Rule Name : Give any Name.
    • Evaluation Criteria: created, and every time is edited.
    • Rule Criteria:
    • NOT(ISBLANK(Contact__c)) // Please use correct api name for your contact field

    • Click Save and Next.
    • Click 'Add Workflow Field Update' action and select email field  and in formula editor type, click Done
    • Contact__r.Email

    • Click  again on 'Add Workflow Field Update' action and select Phone field  and in formula editor type, Click Done
    • Contact__r.Phone

    • Click again on  'Add Workflow Field Update' action and select Fax field  and in formula editor type, Click Done
    • Contact__r.Fax

    • Click Done and finally Activate it.
0/9000