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
CafeCafe 

Validation rule relating opportunities and opportunity products

I'm trying to make a validation rule that will require users to add products to opportunities once they reach a certain stage. For some reason, I can't insert any of the product fields into my equation. It will let me choose price book fields, but not product fields. This seems a little ridiculous, since it is the products that are attached to the opportunities and not the price books. Has anyone else been able to connect the two with a validation rule?
JakesterJakester
The field you want is HasOpportunityLineItem
CafeCafe
It worked! Thank you!!!
jisaacjisaac
Would you be so kind as to post your validation rule? I'd like to do the same.