yangjieke
2022-03-22 3d655e80eec6c770dce06f3d9cf04fffe607f644
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>CheckUpper_limitReason2</fullName>
    <active>true</active>
    <description>AND(agree_Upper_limit__c , NOT(ISBLANK( Not_Upper_limit_reasonSelect__c)))</description>
    <errorConditionFormula>AND( $Profile.Id != &apos;00e10000000Y3o5&apos;, $Profile.Id != &apos;00e10000000dzzG&apos;, AND(agree_Upper_limit__c , 
NOT(ISBLANK( Not_Upper_limit_reasonSelect__c))), 
ISBLANK(contractNextYear__c), 
RecordType.DeveloperName = &apos;NewMaintenance_Contract&apos; )</errorConditionFormula>
    <errorDisplayField>Not_Upper_limit_reasonSelect__c</errorDisplayField>
    <errorMessage>”同意上限和不同意上限理由“请选择其中一项。</errorMessage>
</ValidationRule>