In the Salesforce instance there is a custom object named Calculator__c
with the following fields: NumberA__c
, NumberB__c
, Sum__c
, Difference__c
, Product__c
and Quotient__c
.
Your task is to create an automation process which execute basic calculations on the Calculator__c
object and saves it to the relevant fields as followed:
Sum__c
should contains the result of addition ofNumberA__c
andNumberB__c
Difference__c
should contains the result of subtraction ofNumberB__c
fromNumberA__c
Product__c
should contains the result of multiplication ofNumberA__c
andNumberB__c
Quotient__c
should contains the result of division ofNumberA__c
byNumberB__c
The calculations should be performed in both: when the record is created and edited.
Good luck!