| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Required_Purpose1</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>Text(Status__c) = '申請中' && ( | 
| /* OPD・跟台 */ | 
| (RecordTypeId = '01210000000Qekj' && Isblank(Text(Purpose1__c))) | 
| )</errorConditionFormula> | 
|     <errorDisplayField>Purpose1__c</errorDisplayField> | 
|     <errorMessage>目的1必选</errorMessage> | 
| </ValidationRule> |