| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Delivery_Before_Repair_Aborted</fullName> | 
|     <active>true</active> | 
|     <description>发货前NG必须选择维修或者废弃</description> | 
|     <errorConditionFormula>IsPickval(Inspection_result__c, 'NG') | 
| && IsBlank(Text(Inspection_result_ng__c))</errorConditionFormula> | 
|     <errorDisplayField>Inspection_result_ng__c</errorDisplayField> | 
|     <errorMessage>发货前NG必须选择维修或者废弃</errorMessage> | 
| </ValidationRule> |