You need to sign in to do that
Don't have an account?
JPINO
Validation Rule on opportunity products to set total price to zero (0) if checkbox is true
Hello, I am in need of help.
I would like to create a validation rule (I have PE and no workflow) for the Opportunity Product, that sets the TotalPrice to zero (0) when a checkbox Sample__c is true.
The UnitPrice still has a value (e.g. $25 - for the cost of the sample), but this should be excluded from the TotalPrice of the line item, but most importantly, excluded from the overall Opportunity Amount.
Happy for other suggestions/strategies to meet this requirement.
Thanks in advance.
Validation rule wont make the Total price to zero,when the sample__c is true.But it wont allow the user to save the record,when sample__c is true and Total price is not zero for this user must make Total price zero manually and save the record.
Validation rule:-AND( Sample__c=True,Totalprice<>0)
All Answers
Validation rule wont make the Total price to zero,when the sample__c is true.But it wont allow the user to save the record,when sample__c is true and Total price is not zero for this user must make Total price zero manually and save the record.
Validation rule:-AND( Sample__c=True,Totalprice<>0)