Li Jun
2022-05-10 51fb56f3f5b0dc96d7f93a71f9b61263e303243f
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Request_approval_day_earlier_14_day</fullName>
    <active>false</active>
    <errorConditionFormula>ISPICKVAL(demo_purpose2__c, &quot;学会展会&quot;) &amp;&amp; ( TODAY() &gt;= Request_shipping_day__c -7)
&amp;&amp;or(and(isnew(),ISBLANK(Old_Consum_Apply__c)),text(Status__c)==&apos;草案中&apos;,TEXT(Status__c)=&quot;填写完毕&quot; )
&amp;&amp; Not(ischanged(Loaner_cancel_request__c)) &amp;&amp; Not(ischanged(Cancel_Reason__c))
&amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)</errorConditionFormula>
    <errorMessage>必须提前于希望到货日7天以上提交申请</errorMessage>
</ValidationRule>