1
2
3
4
5
6
7
8
9
10
11
12
13
  | <?xml version="1.0" encoding="UTF-8"?> 
 |  <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 |      <fullName>Request_input_Rental_endo_date</fullName> 
 |      <active>false</active> 
 |      <errorConditionFormula>AND( 
 |  OR(ISPICKVAL(demo_purpose2__c, "试用(无询价)"), ISPICKVAL(demo_purpose2__c, "试用(有询价)"), ISPICKVAL(demo_purpose2__c, "其他"), ISPICKVAL(demo_purpose2__c, "新产品评价"), 
 |  ISPICKVAL(demo_purpose2__c, "协议借用") 
 |  ),  
 |  ISBLANK(Request_return_day__c)) && 
 |  NOT($User.Batch_User__c)</errorConditionFormula> 
 |      <errorDisplayField>Request_return_day__c</errorDisplayField> 
 |      <errorMessage>"试用(无询价)","试用(有询价)","新产品评价","协议借用","其他"申请时,[预定归还日]是必填写</errorMessage> 
 |  </ValidationRule> 
 |  
  |