답변 1개
I actually find a solution to my problem.I made a new separated validation rule. Because there is already a validation rule preventing you for entering a discount i percent and a net price, I don't need to check if the Discount field is blank or null.Here is the validation rules formula: AND( NOT($User.ByPass_VR__c), OR( AND( Product2.Maximum_Discount_in_percent_NOK__c <> 0, (PricebookEntry.UnitPrice - (Product2.Maximum_Discount_in_percent_NOK__c * PricebookEntry.UnitPrice)) > Net_Price_Discount__c) ) )A good old divide and conquer solution ;-)