<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>XX_Manual_Input_Rule_for_customer</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>( 
 | 
/* NTC/TTC */ 
 | 
RecordTypeId = '01210000000Qeko' 
 | 
/* OPD・跟台 */ || 
 | 
RecordTypeId = '01210000000Qekj' 
 | 
/* 製品説明 */ || 
 | 
RecordTypeId = '01210000000QfoD' 
 | 
) 
 | 
&& AND(ISBLANK( Hospital_Department__c ) ,  ISBLANK(Manual_Name__c ))</errorConditionFormula> 
 | 
    <errorDisplayField>Manual_Name__c</errorDisplayField> 
 | 
    <errorMessage>如果没有客户查阅权限的话,请在医院/科室(手写)中填写进行活动的医院和可似乎名称</errorMessage> 
 | 
</ValidationRule> 
 |