<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Need_QIS_input</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>RecordTypeId <> "01210000000RHIn" &&  
 | 
$User.ProfileId <> "00e10000000dEQx" &&  
 | 
  
 | 
ISBLANK(Old_Consum_Apply__c) &&  
 | 
(AND(  
 | 
ISPICKVAL(demo_purpose2__c , "索赔QIS"),  
 | 
  
 | 
ISBLANK(QIS_number__c)))</errorConditionFormula> 
 | 
    <errorDisplayField>QIS_number__c</errorDisplayField> 
 | 
    <errorMessage>使用目的为“索赔QIS“时,[QIS]为必填项目</errorMessage> 
 | 
</ValidationRule> 
 |