| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Applicant_CancelReason_Active_Only</fullName> | 
|     <active>true</active> | 
|     <description>必须输入取消理由</description> | 
|     <errorConditionFormula>(($User.ProfileId <>'00e10000000Y3o5')&& | 
| ($User.ProfileId <>'00e10000000xnoT')&& | 
| (NOT(CONTAINS($Label.ProfileId_EquCenAdmin, $User.ProfileId)))&& | 
| ($User.ProfileId <>'00e10000000xo1D') && | 
| (NOT(CONTAINS($Label.ProfileId_EquCenCheckAndDepot, $User.ProfileId)))) | 
| && ISBLANK(Cancel_Reason__c) | 
| && ISPICKVAL(Status__c, '取消') && NOT($User.Batch_User__c) && $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> | 
|     <errorDisplayField>Cancel_Reason__c</errorDisplayField> | 
|     <errorMessage>必须输入取消理由</errorMessage> | 
| </ValidationRule> |