| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Startwith_OCM</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>Name_Manual__c = true | 
| && (Name = '*' || Left(Name, 3) = 'OCM' | 
| ||Left(Name, 4) = 'OCSM' )</errorConditionFormula> | 
|     <errorDisplayField>Name</errorDisplayField> | 
|     <errorMessage>手动输入点检报告书单号不能以[OCSM]开头</errorMessage> | 
| </ValidationRule> |