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