| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Aohui_Product_Select_Seivice</fullName> | 
|     <active>true</active> | 
|     <description>产品为非奥辉产品,不允许选择“直送OGZ修理“ | 
| LYAG-BVEB93 跳过系统管理员 | 
| XLIU-CGH5YY 跳过山东省</description> | 
|     <errorConditionFormula>AND( | 
| NOT(Delivered_Product__r.Product2.ProductCode='N5377460'), NOT(Delivered_Product__r.Product2.ProductCode='N3804360'), NOT(Delivered_Product__r.Product2.ProductCode='N5377660'), NOT(Delivered_Product__r.Product2.ProductCode='N3804560'), NOT(Delivered_Product__r.Product2.ProductCode='N5377560'), NOT(Delivered_Product__r.Product2.ProductCode='N3804460'), NOT(Delivered_Product__r.Product2.ProductCode='N3804260'), NOT(Delivered_Product__r.Product2.ProductCode='N3805060'), NOT(Delivered_Product__r.Product2.ProductCode='N3804960'), NOT(Delivered_Product__r.Product2.ProductCode='N5385560'),NOT(Delivered_Product__r.Product2.ProductCode='N5377480'),NOT(Delivered_Product__r.Product2.ProductCode='N5377680'),NOT(Delivered_Product__r.Product2.ProductCode='N5377580'), | 
| NOT(Delivered_Product__r.sorc__c), | 
| TEXT(On_site_repair__c)='直送OGZ修理')  | 
|   | 
| && | 
| NOT(Delivered_Product__r.Quick_Repair_Sign__c) /* add wangweipeng   保有设备为急速快修的不报错*/ | 
| &&  | 
| $Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */ | 
| && | 
| $Profile.Id != '00e10000000dzzG' /* GPI_系统管理员New 不报错 */ | 
| && | 
| $Profile.Id != '00e10000000Y3o5' /* 系统管理员 不报错 */ | 
| && | 
| $User.Id != '00510000000fSYI' /* Batch User 不报错 */ | 
|   | 
| && | 
| $Profile.Id != '00e10000000eFwF' /* 118_NMPA(质量法规本部)担当 不报错 */ | 
| && | 
| $Profile.Id != '00e10000000dCrn' /* 118_NMPA(质量法规本部)窗口 不报错 */ | 
| && | 
| $User.Id != '0051000000AKgzv' /* 胡 玉成 不报错 */ | 
| && | 
| $User.Id != '0051000000AKh05' /* 李 琪清 不报错 */ | 
| && | 
| $User.Id != '00510000004q1ed' /* 郭 洋 不报错 */ | 
| && | 
| FSE_State__c != '山东省' /* 山东省 不报错 */</errorConditionFormula> | 
|     <errorDisplayField>On_site_repair__c</errorDisplayField> | 
|     <errorMessage>非奥辉产品时,不允许选择“直送OGZ修理“</errorMessage> | 
| </ValidationRule> |