| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Not_Need_Input_GI_Diff</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>(ISNew()  ||  | 
| text(Status__c) = '草案中') | 
| &&  | 
| Salesdept__c <> '消化·呼吸内镜事业本部'  &&  | 
| NOT(ISBLANK(text(GI_Diff__c))) &&  | 
| $User.ProfileId <>'00e10000000Y3o5'  | 
| &&  | 
| NOT($User.Batch_User__c)  &&  | 
| $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> | 
|     <errorDisplayField>GI_Diff__c</errorDisplayField> | 
|     <errorMessage>只有GI本部需要填写</errorMessage> | 
| </ValidationRule> |