Li Jun
2022-04-08 ac719375874fd50fad5a11f8e04ac3329081bd0b
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Other_reasons_for_free_replacement</fullName>
    <active>true</active>
    <description>当“无偿更换原因”选择“其他”时,必须填写“其他对应原因”。</description>
    <errorConditionFormula>ISBLANK(Other_Reasons__c) &amp;&amp; TEXT(FreeReson__c) == &quot;其他&quot;</errorConditionFormula>
    <errorDisplayField>Other_Reasons__c</errorDisplayField>
    <errorMessage>当“无偿更换原因”选择“其他”时,必须填写“其他对应原因”。</errorMessage>
</ValidationRule>