<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Date_Validation1</fullName> 
 | 
    <active>true</active> 
 | 
    <description>OPD/SIS/NTC实施日大于等于备品中心出库日,小于等于回寄日</description> 
 | 
    <errorConditionFormula>(ISNEW() || ISCHANGED(Date__c)) && Loaner_request_no1__c !=null &&  !ISBLANK(Asset_return_day2__c ) &&  !ISBLANK(Bollow_Date__c ) && (Date__c < Bollow_Date__c || Date__c > Asset_return_day2__c) && !(RecordTypeId = '01210000000NPDp' || RecordTypeId = '01210000000NPDz')</errorConditionFormula> 
 | 
    <errorDisplayField>Date__c</errorDisplayField> 
 | 
    <errorMessage>OPD/SIS/NTC实施日必须在备品中心出库日和回寄日之间</errorMessage> 
 | 
</ValidationRule> 
 |