binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Status_Phase_Change_Fixed_To_Opp</fullName>
    <active>true</active>
    <description>And( 
 Note_Residual_Result__c &lt;&gt; &quot;0&quot;,
 Note_Residual_Result__c &lt;&gt; &quot;4&quot;,
 Fixed_Check__c ,
 ISPICKVAL( StageName , &quot;引合&quot;) , 
 ISCHANGED(StageName),
 $User.Batch_User__c = False 
)</description>
    <errorConditionFormula>And( 
Note_Residual_Result__c &lt;&gt; &quot;0&quot;, 
Note_Residual_Result__c &lt;&gt; &quot;4&quot;, 
Fixed_Check__c , 
ISPICKVAL( StageName , &quot;引合&quot;) , 
ISCHANGED(StageName), 
$User.Batch_User__c = False 
)</errorConditionFormula>
    <errorMessage>在状态1上不能改为询价</errorMessage>
</ValidationRule>