
Invoiced_Amount__c >= Total_PO_Amount__c
This SHOULD mean that if both values are £125.00 then there shouldn't be a problem, as I am saying that Invoiced Amount cannot be greater than but can be equal to the Total PO Amount.
However in my experience to date, the data validation rule is being triggered when they are identical.
I wonder if someone could help troubleshoot this for me, is it something to do with decimal places?
Before the validation rule was put in place, I could just type in 125 and hit save and it would then show as £125.00 but now that isn't even allowed and the validation rule triggers.
2 réponses
The validation rule criteria is capturing the incorrect conditions and thus triggers the error message when you meet those conditions.
The operator you chose >= is saying when Invoiced amount is Greater "OR" Equal than/to PO amount.
If they are allowed to be identical, you should use > on its own and not include the equal operator.