Li Jun
2022-04-21 03a6b8730cde75e4c42634b676c96dd9caeda07f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Service_CutPriceEditDisabledWhenFinished</fullName>
    <active>true</active>
    <errorConditionFormula>OR(not(isnull( ServiceCutPriceApprovalDate__c)), TEXT(CutPriceStatus_Service__c) =&apos;批准&apos;)&amp;&amp; 
ISCHANGED(Expect_CutPrice__c) || 
ISCHANGED(CutPrice_Reason_Service__c) || 
ISCHANGED(ServiceCutPriceApplyDateShow__c) ||
ISCHANGED(ServiceCutPriceApprovalDate__c) || 
ISCHANGED(CutPriceStatus_Service__c) 
) &amp;&amp;  $User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;</errorConditionFormula>
    <errorMessage>所属修理服务本部减价申请已经完毕,不能再编辑服务减价信息“金额信息”部分了</errorMessage>
</ValidationRule>