binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
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>Trade_ChangeRule</fullName>
    <active>true</active>
    <errorConditionFormula>AND( 
OR(Estimation_Decision__c, 
 NOT(ISPICKVAL( StageName , &apos;引合&apos;)),
 opp_quotes_num__c &gt; 0, 
 SAP_Send_OK__c 
), 
ISCHANGED( Trade__c),
NOT(ISPICKVAL( StageName , &apos;目標&apos;)))</errorConditionFormula>
    <errorMessage>状态1不是询价,或者win为正,或者已决定报价,或者有报价时,不可以修改内贸/外贸</errorMessage>
</ValidationRule>