liuyan
2022-11-30 6b05e5c975c7e33b09e6073f1ec8419e1f9b065b
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Cannot_Cancel_When_Application</fullName>
    <active>true</active>
    <errorConditionFormula>ISPICKVAL(Consum_Apply__r.Status__c, &apos;申请中&apos;)
&amp;&amp;  ISCHANGED(Cancel_Select__c)
&amp;&amp; Cancel_Select__c = true</errorConditionFormula>
    <errorDisplayField>Cancel_Select__c</errorDisplayField>
    <errorMessage>需要撤回申请才能取消</errorMessage>
</ValidationRule>