8 réponses
In the Module below steps are given to create a field.
Create a Formula
Create a custom formula field that calculates the overall score from the Review object.
- From Setup, click Object Manager, and select Review.
- Click Fields & Relationships, then click New.
- Select Formula as the Data Type, and click Next.
- For Field Label, enter Overall Review Score.
- For Formula Return Type, choose Number.
- Click Next and add the formula under Overall Review Score (Number) =
( VALUE(TEXT(Core_Competencies__c)) + VALUE(TEXT(Experience__c)) + VALUE(TEXT(Leadership_Skills__c)) + IF( Recommend_for_Hire__c , 5, 0) ) / 4
- Click Check Syntax to verify that there are no errors.
- Click Next, Next, then Save.