Li Jun
2022-04-27 f90c63155656928b86f1ce1d91a134de3d12d2b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>After_Request_shipping</fullName>
    <active>true</active>
    <description>现场到货确认后,才可以操作装机和上传签收单
(Rental_Apply_Equipment_Set_Cnt__c - Loaner_received_ng_num__c    =    0 
|| ( Lost_item_finish__c &gt; 0  &amp;&amp;  Lost_product_cnt__c  &lt;&gt; Rental_Apply_Equipment_Set_Detail_Cnt__c)</description>
    <errorConditionFormula>( Loaner_received_ng_num__c  &gt; 0 )
&amp;&amp; (($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;) &amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000xo1D&apos;)) 
&amp;&amp; (ISCHANGED(HP_received_sign_day__c ) || ISCHANGED(HP_received_sign_text__c) ) 
&amp;&amp; NOT($User.Batch_User__c) 
&amp;&amp; $User.ProfileId &lt;&gt;&apos;00e10000000dEQx&apos; 
&amp;&amp; $User.ProfileId &lt;&gt;&apos;00e10000000xnoY&apos; 
&amp;&amp; $User.ProfileId &lt;&gt;&apos;00ep0000000O4tG&apos; 
&amp;&amp; DataMigration_Flag__c = False</errorConditionFormula>
    <errorMessage>现场到货确认后,才可以操作装机和上传签收单</errorMessage>
</ValidationRule>