| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>DirctionCheck</fullName> | 
|     <active>true</active> | 
|     <description>目的检查</description> | 
|     <errorConditionFormula>ISPICKVAL(Order_type__c ,'订单') && ISPICKVAL(Order_type__c ,'')</errorConditionFormula> | 
|     <errorDisplayField>Order_reason__c</errorDisplayField> | 
|     <errorMessage>请输入订单目的</errorMessage> | 
| </ValidationRule> |