<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Must_Input_ChangeQuantityReason</fullName> 
 | 
    <active>false</active> 
 | 
    <description>看 ISCHANGED(ChangeQuantityHistory__c)</description> 
 | 
    <errorConditionFormula>Not(IsNew()) 
 | 
&& PRIORVALUE(Quantity) != Quantity 
 | 
&&  ISBLANK(TEXT(ChangeQuantityReason__c)) && AssetManageConfirm__c = TRUE 
 | 
&& NOT($User.Batch_User__c)  
 | 
&& $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> 
 | 
    <errorDisplayField>ChangeQuantityReason__c</errorDisplayField> 
 | 
    <errorMessage>数量修改必须填写数量修改理由</errorMessage> 
 | 
</ValidationRule> 
 |