高章伟
2022-03-10 8db20630a2675ca14e03ccdee91c614397b5c964
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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>请输入&quot;回收后-检测结果&quot;的结果</description>
    <errorConditionFormula>OnStock_By_Cancel__c = false
&amp;&amp; Not(IsBlank(Shippment_loaner_time_F__c))
&amp;&amp; Arrival_in_wh__c=TRUE
&amp;&amp; NOT(Lost_item_giveup__c)
&amp;&amp; ISBLANK(TEXT(Inspection_result_after__c))
&amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)&amp;&amp;
($User.ProfileId &lt;&gt;&apos;00e10000000xo1D&apos;)
&amp;&amp; (TransferApply__r.RecordType.DeveloperName != &apos;CenterToAgency&apos; || NOT(ISBLANK(Return_DeliverySlip__c)))</errorConditionFormula>
    <errorMessage>请输入&quot;回收后-检测结果&quot;的结果</errorMessage>
</ValidationRule>