| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>OPDOPDFollowUpRepair</fullName> | 
|     <active>true</active> | 
|     <description>OPD计划出借目的选择opd时,模型出借型号、对应修理NO、附件说明不用填写(跳过拆单)</description> | 
|     <errorConditionFormula>(ISCHANGED( RentalReson__c )||  ISNEW() ) && TEXT( RentalReson__c ) =='OPD'&& ISBLANK(  CorrespondingRepairNo__c)==false &&TEXT( OPDType__c)!='学会'&& ISBLANK(OriginalOpdPlanRental__c)</errorConditionFormula> | 
|     <errorDisplayField>CorrespondingRepairNo__c</errorDisplayField> | 
|     <errorMessage>OPD计划出借目的选择opd时,对应修理维修NO不需填写</errorMessage> | 
| </ValidationRule> |