Math, asked by vishalmaurya4712, 11 months ago

how to multiply two fields and display in third field

Answers

Answered by Anonymous
0

Answer:

help in multiplying values in Two Fields & display in 3rd Field Request help in multiplying values in Two Fields (UnitPrice__c & QuantitySold__c} & display ...

Answered by amipatel0891
2

Step-by-step explanation:

If TotalSale__c was a formula field then this would be much easier to implement.

Here is some sample code to achieve what you are looking for using a trigger. I have left out the logic that checks to see if UnitPrice__c or QuantitySold__c have changed, which would stop this logic from firing every time any field on your object changed.

Similar questions