Formulas Flashcards
What is a Formula Field in Salesforce?
Data within a formula field is automatically updated by Salesforce based on the formula’s logic.
What is a Cross Object Formula in Salesforce?
A Cross Object Formula is one that references data in a related record.
Example: Create a Formula Field on an Opportunity to display the Account phone number. When the Account’s phone number gets updated, the field on the Opportunity is automatically updated.
https://help.salesforce.com/articleView?id=customize_cross_object.htm&language=en_US&type=0
What’s important to know about Formula Fields?
Formula Fields are READ ONLY for ALL users.
For this reason, Formula Fields will NOT be displayed when editing records. The value of the Formula Field is only calculated after the record is saved. This applies to Cross Object Formula fields as well.
What are some Formula Field limitations in Salesforce?
- Formula Fields CANNOT reference several Field Types, including: Text Area (Long), Text Area (Rich), Picklist (Multi-Select).
- Some Formula Fields CANNOT be referenced by Roll-Up Summary Fields.
- There are several restrictions on Formula size (character, save, compile).
What are the two Formula Editors in Salesforce?
Simple and Advanced
What is the difference between the two Formula Editors in Salesforce?
The Simple Editor does not provide access to cross-object formulas or functions.
The Advanced Editor provides access to cross-object variables and functions.
Examples of Advanced Formula Fields:
https://help.salesforce.com/articleView?id=useful_advanced_formulas.htm&language=en_US&type=0