<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Required_Use_Materials</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>Text(Status__c) = '申請中' && ( 
 | 
/* NTC/TTC */ 
 | 
(RecordTypeId = '01210000000Qeko' && (Isnull(Use_Materials__c) || Isblank(Use_Materials__c))) 
 | 
)</errorConditionFormula> 
 | 
    <errorDisplayField>Use_Materials__c</errorDisplayField> 
 | 
    <errorMessage>使用资料必选</errorMessage> 
 | 
</ValidationRule> 
 |