function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venkata Sumedha singanamalaVenkata Sumedha singanamala 

Want to calculate Some discount

HI guys,

I want to create a custom field named Special concession which is calculated as per the percentage provided in the one of the fields named 12th standard percentage.Now if the percentage in the 12th Standard percentage field is more than 70% then the speciall concenssion should be updated with 20% or less than 70% should make the special concession field get updated with 10%..How to do this please help me.

Regards,
Seshagiri
Vatsal KothariVatsal Kothari
Hi Seshagiri,

You can achieve it using Workflow rule, by Field update.

Thanks,
Vatsal
Venkata Sumedha singanamalaVenkata Sumedha singanamala
Thanks for the answer vatsal But cant I achieve it using IF condition ex:IF( X12th_Percentage__c>=0.70,0.20,0.10) if the 12th standard percentage is 70% or above it should return 20% and less than 70% it should return 10% cant i do it using if condition.
Venkata Sumedha singanamalaVenkata Sumedha singanamala
Vatsal I got it.. thank you I just wrote:IF( X12th_Percentage__c>=0.70,0.20,0.10) and its working Regards