( Event_Amount__c +
Security_Service_Amount__c +
Shuttle_Service_Amount__c +
Gratuity__c ) =
Amount
3 risposte
Aaah, I understand it now. In that case, you will have to use a Process builder. Validation rules will not help. Validation rules are used with the sole purpose of making sure the data entered by the user is as expected.
Navigate to Setup->Process builder->Click on New, give it a name, and select 'A record changes' for the question The process starts when.
Select the object as Opportunity and check ' When a record is created or updated'. Click on Save.
In the criteria section, you can select the option No criteria.
Under Immediate Action, click Add action, and select 'Update records'. Under Record Type, select 'Select the Opportunity record that started your process'. Select the field 'Amount' and select Formula as the type.
Then you can click on 'Insert Field' option and insert the required fields with '+' in between.
In the end, click on save and click on Activate on the top right.
Sooraj Kesavadas