binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
force-app/main/default/objects/Consum_Apply__c/validationRules/Request_approval_day_earlier_14_day.validationRule-meta.xml
@@ -5,6 +5,6 @@
    <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;00eC800000005Cb&apos;)</errorConditionFormula>
&amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)</errorConditionFormula>
    <errorMessage>必须提前于希望到货日7天以上提交申请</errorMessage>
</ValidationRule>