| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>cannot_update1</fullName> | 
|     <active>false</active> | 
|     <description>一般营业,在提交申请后不能修改备品借出历史,出库后回库前可以修改延期相关字段。</description> | 
|     <errorConditionFormula>NOT($User.EquipmentRentalSpecial__c)  | 
| && NOT(ISNEW())  | 
| && NOT(ISCHANGED(Repair_Status_Text__c))  | 
| && (Request_Status__c <> '草案中'  | 
|     && NOT(ISNULL(Request_Status__c))  | 
|     && NOT((Status_F__c = '备品出库'  | 
|             || Status_F__c = '延期申请' | 
|            ) | 
|            && (ISCHANGED(Request_extend_day__c)  | 
|                || ISCHANGED(Extend_request_reason__c) | 
|               ) | 
|           ) | 
|    )</errorConditionFormula> | 
|     <errorMessage>不能更新[借出备品SET一览]</errorMessage> | 
| </ValidationRule> |