Opp_Changed_Field__c
IF(Isblank(Agency_Opportunity__c), '',
IF(not(text(Opportunity_stage__c) = text(Agency_Opportunity__r.StageName__c))
, '询价阶段发生了变化',
IF(not(text(Close_Forecasted_Date__c) = text(Agency_Opportunity__r.Close_Forecasted_Date__c))
, '预测签约日发生了变化',
IF(not(text(Dealer_Final_Price__c) = text(Agency_Opportunity__r.Amount__c))
, '医院合同金额发生了变化',
IF(not(Wholesale_Price__c = Agency_Opportunity__r.OCMSale_Price__c)
, '订货金额发生了变化',
'没有变化'
)))))
false
IF(Isblank(Agency_Opportunity__c), '',
IF( ISBLANK(IF(not(text(Opportunity_stage__c) = text(Agency_Opportunity__r.StageName__c))
, '询价阶段;','')&
IF(not(text(Close_Forecasted_Date__c) = text(Agency_Opportunity__r.Close_Forecasted_Date__c))
, '预测签约日;','')&
IF(not(Wholesale_Price__c = Agency_Opportunity__r.OCMSale_Price__c)
, '订货金额;','')) ,
'没有变化',IF(not(text(Opportunity_stage__c) = text(Agency_Opportunity__r.StageName__c))
, '询价阶段;','')&
IF(not(text(Close_Forecasted_Date__c) = text(Agency_Opportunity__r.Close_Forecasted_Date__c))
, '预测签约日;','')&
IF(not(Name= Agency_Opportunity__r.Name)&&(Agency_Opportunity__r.OCM_Change_To_Opportunity_Flg__c <> true) ,'询价名称;','' ))
)
BlankAsZero
false
false
false
Text
false