Wednesday, November 4, 2020

Opportunity must have products to close the opportunity validation rule in salesforce

 Below validation rules fires when you are trying to close the opportunity without opportunity products.

Validation Rule:


AND (
CASE( StageName,
"Closed Won", 1,
0) = 1,
NOT(HasOpportunityLineItem)
)

Output:
Try to close the opportunity without products it will show an error message.





No comments:

Post a Comment