<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>NotAllowedRepairReason</fullName> 
 | 
    <active>true</active> 
 | 
    <description>不可进行修理的理由</description> 
 | 
    <errorConditionFormula>ISBLANK(NotAllowedReason__c)&& Text(if_Repair_Allowed__c)='不可维修'</errorConditionFormula> 
 | 
    <errorDisplayField>NotAllowedReason__c</errorDisplayField> 
 | 
    <errorMessage>请填写不可维修的理由</errorMessage> 
 | 
</ValidationRule> 
 |