My plan was to use the opportunity products object and use a validation rule.
I have created the below formula but it does not work.
AND(
Product2.ProductCode = "C-LFP-01"
Discount >"30" )
Am I approaching this correctly?
Many thanks for the help
3 risposte
Hi Jonathan, The formula will be simply
AND(
Product2.ProductCode = "C-LFP-01",
Discount > 0.3
)
You do not need double quotes around the discount value, double quotes are for text fields not for number, percent or currency fields.
when using percent fields, 30% is 0.3, you should be using that.