| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Before_Request_Apporve</fullName> | 
|     <active>true</active> | 
|     <description>不能编辑取消理由</description> | 
|     <errorConditionFormula>(RA_Status__c <> '草案中' &&  | 
|   RA_Status__c <> '已批准' | 
|  && RA_Status__c <> '已分配' ) | 
| && | 
| (($User.ProfileId <>'00e10000000Y3o5')&&  | 
| ($User.ProfileId <>'00e10000000xnoT')&& | 
| (NOT(CONTAINS($Label.ProfileId_EquCenCheckAndDepot, $User.ProfileId)))&& | 
| ($User.ProfileId <>'00e10000000xo1D')  | 
| )  | 
| &&  | 
| ISCHANGED(Loaner_cancel_request__c)</errorConditionFormula> | 
|     <errorMessage>不能编辑取消理由</errorMessage> | 
| </ValidationRule> |