1
2
3
4
5
6
7
8
9
10
11
12
  | <?xml version="1.0" encoding="UTF-8"?> 
 |  <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 |      <fullName>consumableRequest</fullName> 
 |      <active>false</active> 
 |      <errorConditionFormula>AND(TEXT(capital_or_consumable__c) = "耗材", OR(ISBLANK(consumable__c), 
 |  ISBLANK(Lots_No__c), 
 |  ISBLANK(TEXT(sell__c)), 
 |  ISBLANK(Instration_date_consumable__c), 
 |  ISBLANK(contract_number_ET__c)) 
 |  )</errorConditionFormula> 
 |      <errorMessage>请选择耗材并输入耗材的全部的字段信息</errorMessage> 
 |  </ValidationRule> 
 |  
  |