| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Same_RepairCheck</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>NOT(ISBLANK(NewRepair__c)) | 
| && (NewRepair__c = QISRepair__c | 
| || NewRepair__c = Repair__c)</errorConditionFormula> | 
|     <errorDisplayField>NewRepair__c</errorDisplayField> | 
|     <errorMessage>新修理不能和修理或者QIS修理为同一条修理单</errorMessage> | 
| </ValidationRule> |