<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>IsBodyOrIsAccessory</fullName> 
 | 
    <active>true</active> 
 | 
    <description>非一对一主体不可以调拨 
 | 
Not(Loaner_accsessary__c) && Not(Main_OneToOne__c),1834课题</description> 
 | 
    <errorConditionFormula>NOT(ISBLANK(Asset__c)) 
 | 
&& OR( 
 | 
Loaner_accsessary__c && Main_OneToOne__c 
 | 
) 
 | 
&& TEXT(TransferType__c) != '丢失找回' 
 | 
&& RecordType_F__c != 'InsideCenter' 
 | 
&& ($User.ProfileId <>'00e10000000Y3o5') 
 | 
&& ($User.ProfileId <>'00e10000000xo1D')</errorConditionFormula> 
 | 
    <errorMessage>非一对一主体不可以调拨</errorMessage> 
 | 
</ValidationRule> 
 |