ForceLearn

Trigger to apply discount

Sharing is caring!

Business Case : we need to know if salary is less thank 10L need to apply discount as 20%, if it is more than 10L need to apply 30% tax on salary

we can acheive this with formula, workflow, process builder and trigger. Here I try to explained you in way on trigger

 

Test class for UpdateTax trigger


  No tags for this post.

Like Us for FB Page

Trailhead Profile

 

Subscribe Us

 Subscribing I accept the privacy rules of this site