<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>GZPaicha_When_Repair_CheckFixture_True</fullName> 
 | 
    <active>false</active> 
 | 
    <description>update lxy 20200819 【phase4上线课题60】-紧急-取消满足故障排查条件时仅能以故障排查目的借用的验证规则 
 | 
当前当满足故障排查的条件时,从修理画面新建备品申请时默认故障排查且不能修改为其它目的,因为满足故障排查条件时也会有借用一般维修和保修合同的情况,所以需要取消这个验证规则。可以设置默认故障排查,但也能改为其它的目的。</description> 
 | 
    <errorConditionFormula>OR(ISNEW(), RA_Status__c == '草案中') 
 | 
&& NOT(ISPICKVAL(demo_purpose2__c, '故障排查')) 
 | 
&& Repair__r.IfCheckFixture__c</errorConditionFormula> 
 | 
    <errorMessage>必须选择故障排查目的</errorMessage> 
 | 
</ValidationRule> 
 |