Li Jun
2022-04-27 f90c63155656928b86f1ce1d91a134de3d12d2b9
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>Request_PCL_number</fullName>
    <active>true</active>
    <description>使用目的作为试用(有询价)的时候,必须选择跟进询价</description>
    <errorConditionFormula>RecordTypeId  &lt;&gt; &quot;01210000000RHIn&quot;  &amp;&amp; 
ISBLANK(Old_Rental_Apply__c) &amp;&amp;
(AND(
OR(
 ISPICKVAL(demo_purpose2__c , &quot;试用(有询价)&quot;),
 ISPICKVAL(demo_purpose2__c , &quot;已购待货&quot;)),
 
ISBLANK(Follow_UP_Opp__c)))</errorConditionFormula>
    <errorDisplayField>Follow_UP_Opp__c</errorDisplayField>
    <errorMessage>使用目的作为[试用(有询价)]或[已购待货]的时候,在[跟进询价1]中必须选择此次跟进询价</errorMessage>
</ValidationRule>