Thursday, May 18, 2017

Formulas & Validations

Creating a New Formula Field

You can create custom formula fields on any standard or custom object. To start, we’ll create a formula on the Account object. Follow these steps to navigate to the formula editor:

  1. Go to the Accounts page from setup.
  2. Create a new field.
  3. Select Formula and click Next.
  4. In Field Label, type My Formula Field. Notice that Field Name populates automatically.
  5. Select the type of data you expect your formula to return. For example, if you want to write a formula that calculates the commission a salesperson receives on a sale, you select Currency. For now, pick Text.
  6. Click Next. You’ve arrived at the formula editor! Time for our tour.

No comments:

Post a Comment