<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Cannot_change_rental_end_date</fullName> 
 | 
    <active>false</active> 
 | 
    <errorConditionFormula>DataMigration_Flag__c == false 
 | 
&& ISNULL(asset_extend_approval_time__c) && ISCHANGED(Rental_End_Date__c)</errorConditionFormula> 
 | 
    <errorMessage>延期申请没有批准之前,不能更改“备品预计回收日”</errorMessage> 
 | 
</ValidationRule> 
 |