<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Final_arrival_check</fullName> 
 | 
    <active>true</active> 
 | 
    <description>请输入"回收后-检测结果"的结果</description> 
 | 
    <errorConditionFormula>OnStock_By_Cancel__c = false 
 | 
&& Not(IsBlank(Shippment_loaner_time_F__c)) 
 | 
&& Arrival_in_wh__c=TRUE 
 | 
&& NOT(Lost_item_giveup__c) 
 | 
&& ISBLANK(TEXT(Inspection_result_after__c)) 
 | 
&& ($User.ProfileId <>'00e10000000Y3o5')&& 
 | 
($User.ProfileId <>'00e10000000xo1D') 
 | 
&& (TransferApply__r.RecordType.DeveloperName != 'CenterToAgency' || NOT(ISBLANK(Return_DeliverySlip__c)))</errorConditionFormula> 
 | 
    <errorMessage>请输入"回收后-检测结果"的结果</errorMessage> 
 | 
</ValidationRule> 
 |