<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>ApplyMust_AfterFailureInformation</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>$Profile.Id != '00e10000000dzzG' /* GPI_系统管理员New 不报错 */  
 | 
&&  
 | 
$Profile.Id != '00e10000000Y3o5' /* 系统管理员 不报错 */  
 | 
&&  
 | 
$User.Id != '00510000000fSYI' /* Batch User 不报错 */ 
 | 
&& 
 | 
$Profile.Id != '00e10000000eFwF' /* 118_NMPA(质量法规本部)担当 不报错 */ 
 | 
&& 
 | 
$Profile.Id != '00e10000000dCrn' /* 118_NMPA(质量法规本部)窗口 不报错 */ 
 | 
&& 
 | 
$User.Id != '0051000000AKgzv' /* 胡 玉成 不报错 */ 
 | 
&& 
 | 
$User.Id != '0051000000AKh05' /* 李 琪清 不报错 */ 
 | 
&& 
 | 
$User.Id != '00510000004q1ed' /* 郭 洋 不报错 */ 
 | 
&& 
 | 
OR( 
 | 
    Text(Status__c)='1.受理完毕', 
 | 
    Text(Status__c)='0.申请完毕' 
 | 
)  
 | 
&&AfterFailureInformation__c='' 
 | 
&&OR(TEXT(ProblemOccurred__c)='使用前准备-患者已麻醉',TEXT(ProblemOccurred__c)='手术-使用中',TEXT(ProblemOccurred__c)='手术-使用后')&&RepairSource__c !='QIS转修理'&&OR(SAP_Transfer_day__c>=DATE(2020,04,01),FSE_ApplyForRepair_Day__c>=DATE(2020,04,01))</errorConditionFormula> 
 | 
    <errorDisplayField>AfterFailureInformation__c</errorDisplayField> 
 | 
    <errorMessage>申请修理时,必须填写发生故障后,医院对患者的处理情况!</errorMessage> 
 | 
</ValidationRule> 
 |