<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>When_NFM103_Required</fullName> 
 | 
    <active>true</active> 
 | 
    <description>NFM103送信時チェック</description> 
 | 
    <errorConditionFormula>AND(OR( 
 | 
    Text(Status__c)='1.受理完毕', 
 | 
    Text(Status__c)='0.申请完毕' 
 | 
), 
 | 
  OR( 
 | 
    ISNEW(), 
 | 
    ISCHANGED(Status__c) 
 | 
  ), 
 | 
  /* NFM103必填 */ 
 | 
  OR( 
 | 
    ISBLANK(Incharge_Staff__c) 
 | 
  ) 
 | 
)</errorConditionFormula> 
 | 
    <errorMessage>上传SAP时错误,[修理委托者]必须填写。</errorMessage> 
 | 
</ValidationRule> 
 |