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
sreekanth reddysreekanth reddy 

Commission trigger

hello.
how to write Commission trigger based on client feedback.
feedback is 4 types excellent,good,average,bad.
client select feedback is excellent then commision gets 4%
client select feedback is good then commision gets 3%.

thanks.
 
Sumitkumar_ShingaviSumitkumar_Shingavi
I would suggest you not to code for this and just implement 2 formula fields.

1. Use a Formula field where % of commission is decided conditionally based on feedback value in picklist (Data Type: Percentage)
2. Use another formula field for Calculated Commission amount by multiplication of #1 & Total Value (Data Type: Number)

Hope this helps!

Thanks,
Sumit