<?xml version="1.0" encoding="UTF-8"?> 
 | 
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Opp_Changed_Field__c</fullName> 
 | 
    <description>IF(Isblank(Change_To_Opportunity__c), '', 
 | 
IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c )) 
 | 
    , '询价阶段发生了变化', 
 | 
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c )) 
 | 
    , '预测签约日发生了变化', 
 | 
IF(not(text(Change_To_Opportunity__r.Dealer_Final_Price__c) = text( Amount__c )) 
 | 
    , '医院合同金额发生了变化', 
 | 
IF(not(Change_To_Opportunity__r.Wholesale_Price__c= OCMSale_Price__c ) 
 | 
    , '订货金额发生了变化', 
 | 
      '没有变化' 
 | 
)))))</description> 
 | 
    <externalId>false</externalId> 
 | 
    <formula>IF(Isblank(Change_To_Opportunity__c), '', 
 | 
IF( ISBLANK(IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c )) 
 | 
    , '询价阶段;','')& 
 | 
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c )) 
 | 
    , '预测签约日;','')& 
 | 
IF(not(Change_To_Opportunity__r.Wholesale_Price__c= OCMSale_Price__c ) 
 | 
    , '订货金额;','')) , 
 | 
      '没有变化', 
 | 
IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c )) 
 | 
    , '询价阶段;','')& 
 | 
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c )) 
 | 
    , '预测签约日;','')& 
 | 
IF(not(Change_To_Opportunity__r.Name= Name)&&(OCM_Change_To_Opportunity_Flg__c <> true) ,'询价名称;','' )) 
 | 
)</formula> 
 | 
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> 
 | 
    <label>询价差异字段</label> 
 | 
    <required>false</required> 
 | 
    <trackHistory>false</trackHistory> 
 | 
    <trackTrending>false</trackTrending> 
 | 
    <type>Text</type> 
 | 
    <unique>false</unique> 
 | 
</CustomField> 
 |