binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
force-app/main/default/objects/Maintenance_Contract_Estimate__c/validationRules/Discount_Changed_Check.validationRule-meta.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Discount_Changed_Check</fullName>
    <active>false</active>
    <active>true</active>
    <description>报价状态为申请中或批准时,不能更新优惠率(价格)</description>
    <errorConditionFormula>AND(OR(ISPICKVAL(Process_Status__c, &apos;申请中&apos;), ISPICKVAL(Process_Status__c, &apos;批准&apos;)), OR(ISCHANGED(Discount_Percentage__c), ISCHANGED(Discount_Price__c)))</errorConditionFormula>
    <errorMessage>报价状态为申请中或批准时,不能更新优惠率(价格)</errorMessage>