| <?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" &&  | 
| $User.ProfileId <> "00e10000000Y3o5" && | 
| NOT($User.Batch_User__c) &&  | 
| ISBLANK(Old_Rental_Apply__c) &&  | 
| (AND(  | 
| ISPICKVAL(demo_purpose2__c , "索赔QIS"),  | 
|   | 
| ISBLANK(QIS_number__c)))</errorConditionFormula> | 
|     <errorDisplayField>QIS_number__c</errorDisplayField> | 
|     <errorMessage>使用目的为“索赔QIS“时,[QIS]为必填项目</errorMessage> | 
| </ValidationRule> |