fuyu
2023-01-05 c2c5fc25aa9e92a0ab8ebcea4e01a176359d2f78
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Need_QIS_input</fullName>
    <active>true</active>
    <errorConditionFormula>RecordTypeId &lt;&gt; &quot;01210000000RHIn&quot; &amp;&amp; 
$User.ProfileId &lt;&gt; &quot;00e10000000dEQx&quot; &amp;&amp; 
$User.ProfileId &lt;&gt; &quot;00e10000000Y3o5&quot; &amp;&amp;
NOT($User.Batch_User__c) &amp;&amp; 
ISBLANK(Old_Rental_Apply__c) &amp;&amp; 
(AND( 
ISPICKVAL(demo_purpose2__c , &quot;索赔QIS&quot;), 
 
ISBLANK(QIS_number__c)))</errorConditionFormula>
    <errorDisplayField>QIS_number__c</errorDisplayField>
    <errorMessage>使用目的为“索赔QIS“时,[QIS]为必填项目</errorMessage>
</ValidationRule>