| <?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 != '00e10000000Y3o5', $Profile.Id != '00e10000000dzzG', AND(agree_Upper_limit__c ,  | 
| NOT(ISBLANK( Not_Upper_limit_reasonSelect__c))),  | 
| ISBLANK(contractNextYear__c),  | 
| RecordType.DeveloperName = 'NewMaintenance_Contract' )</errorConditionFormula> | 
|     <errorDisplayField>Not_Upper_limit_reasonSelect__c</errorDisplayField> | 
|     <errorMessage>”同意上限和不同意上限理由“请选择其中一项。</errorMessage> | 
| </ValidationRule> |