You need to sign in to do that
Don't have an account?
netTrekker_AD
Is there a way to write a VR to restrict Quotes from being created unless Opportunity is Approved?
I have created an Approval Status field on the Opportunity but cannot figure out if there is anyway to prevent a quote from being saved if the Opportunity is not approved.
Can anyone suggest a way to do this without a trigger?
Try creating a validation rule at Quote level :
TEXT(Opportunity.ApprovalStatus__c) = 'Not Approved'
It will through an error and not allow to save the quote, if approval status is 'Not Approved'. Similarly a validation rule can be created at the Quote line item level.
Did this answer your question? if so, please mark it solved.
All Answers
Try creating a validation rule at Quote level :
TEXT(Opportunity.ApprovalStatus__c) = 'Not Approved'
It will through an error and not allow to save the quote, if approval status is 'Not Approved'. Similarly a validation rule can be created at the Quote line item level.
Did this answer your question? if so, please mark it solved.
I actually resolved this before your reply but thank you. Your suggestion of a quote VR was what I used and its working.
Thanks!