Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apex Design Patterns

You're reading from  Apex Design Patterns

Product type Book
Published in Apr 2016
Publisher
ISBN-13 9781782173656
Pages 256 pages
Edition 1st Edition
Languages
Authors (2):
Anshul Verma Anshul Verma
Profile icon Anshul Verma
Jitendra Zaa Jitendra Zaa
Profile icon Jitendra Zaa
View More author details

Over usage of formula fields


Often, Salesforce configuration options are suggested as the first option or solution to any given problem. For example, the formula field. Formula fields are fast and easy ways to show calculated field values driven from the same or related objects (parents or grandparents). Formulas are easy to create and manage and are very handy when values are to be shown dynamically.

However, we should understand how a formula field really works under the hood. Formula fields are calculated fields (values are not physically stored), which are calculated every time a record is retrieved. The formula field value gets calculated only if it is a part of the retrieval process. This means that an additional calculation is to be performed for each object record that is retrieved. Now, this will not impact when you are merely looking at the record in view mode or are retrieving a limited number of records. But when you retrieve bulk records via code or reports, the use of more and...

lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime}