You need to sign in to do that
Don't have an account?
DIVAKAR BABU 15
opportunity Line item have 2 fields one is quantity and another is discount .but my question is can we autopopulate discount field based on quatity
suppose quantity is more than 10
discount wil be 20%
quantity is more than 20
discount will be 30%
discount wil be 20%
quantity is more than 20
discount will be 30%
NOTE: The code provided is an example. You'll need to review and make modifications for your organization.
Let me know if this helps, if it does, please close the query by marking it as solved. It may help others in the community. Thank You!
if(opportunitylineitem.qty >10){
discount=10%
}