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 , '引合')),
| opp_quotes_num__c > 0,
| SAP_Send_OK__c
| ),
| ISCHANGED( Trade__c),
| NOT(ISPICKVAL( StageName , '目標')))</errorConditionFormula>
| <errorMessage>状态1不是询价,或者win为正,或者已决定报价,或者有报价时,不可以修改内贸/外贸</errorMessage>
| </ValidationRule>
|
|