<?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) && TEXT(FreeReson__c) == "其他"</errorConditionFormula>
|
<errorDisplayField>Other_Reasons__c</errorDisplayField>
|
<errorMessage>当“无偿更换原因”选择“其他”时,必须填写“其他对应原因”。</errorMessage>
|
</ValidationRule>
|