| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Cannot_Change_When_After_Inspection</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>DataMigration_Flag__c = false | 
| && NOT( ISPICKVAL(Change_Point__c, '删除') ) | 
| && NOT(ISBLANK(After_Inspection_time__c)) | 
| && ISCHANGED(After_Inspection_time__c) = false | 
| && ISCHANGED(AcceptanceTime__c)</errorConditionFormula> | 
|     <errorMessage>验收后的收货清单配套一览明细不能变更清点时间</errorMessage> | 
| </ValidationRule> |