Liu Cheng
2022-06-09 cdcd7ebced39e63ebbca5295ed8e34b66d515130
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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), &apos;&apos;,
IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c ))
    , &apos;询价阶段发生了变化&apos;,
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c ))
    , &apos;预测签约日发生了变化&apos;,
IF(not(text(Change_To_Opportunity__r.Dealer_Final_Price__c) = text( Amount__c ))
    , &apos;医院合同金额发生了变化&apos;,
IF(not(Change_To_Opportunity__r.Wholesale_Price__c= OCMSale_Price__c )
    , &apos;订货金额发生了变化&apos;,
      &apos;没有变化&apos;
)))))</description>
    <externalId>false</externalId>
    <formula>IF(Isblank(Change_To_Opportunity__c), &apos;&apos;,
IF( ISBLANK(IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c ))
    , &apos;询价阶段;&apos;,&apos;&apos;)&amp;
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c ))
    , &apos;预测签约日;&apos;,&apos;&apos;)&amp;
IF(not(Change_To_Opportunity__r.Wholesale_Price__c= OCMSale_Price__c )
    , &apos;订货金额;&apos;,&apos;&apos;)) ,
      &apos;没有变化&apos;,
IF(not(text(Change_To_Opportunity__r.Opportunity_stage__c) = text( StageName__c ))
    , &apos;询价阶段;&apos;,&apos;&apos;)&amp;
IF(not(text(Change_To_Opportunity__r.Close_Forecasted_Date__c) = text( Close_Forecasted_Date__c ))
    , &apos;预测签约日;&apos;,&apos;&apos;)&amp;
IF(not(Change_To_Opportunity__r.Name= Name)&amp;&amp;(OCM_Change_To_Opportunity_Flg__c &lt;&gt; true) ,&apos;询价名称;&apos;,&apos;&apos; ))
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>询价差异字段</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>