| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Cannot_Set_RNDAssert</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>DataMigration_Flag__c == false | 
| && NOT(ISBLANK(ReceivingNoteSummary__r.First_RND__c)) | 
| && Is_First_RND_F__c == false && NOT(ISBLANK(RNDAssert__c))</errorConditionFormula> | 
|     <errorDisplayField>RNDAssert__c</errorDisplayField> | 
|     <errorMessage>追加附属品不能设置保有设备</errorMessage> | 
| </ValidationRule> |