涂煌豪
2022-05-06 ff435968945d457f9ee653a9620fa1c7d78d2d4c
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Update_situation__c</fullName>
    <externalId>false</externalId>
    <formula>IF( 
text(Year(Created_Day__c)) &amp; text(Month(Created_Day__c)) = 
text(Year(today())) &amp; text(Month(today())),&quot;本月创建&quot;, 
 
IF(ISBLANK(Key_topic_last_update_date__c),&quot;还没更新&quot;, 
 
IF( 
text(Year(Key_topic_last_update_date__c)) &amp; text(Month(Key_topic_last_update_date__c)) = 
text(Year(today())) &amp; text(Month(today())),&quot;本月更新&quot;, 
 
IF( 
text(Year(Key_topic_last_update_date__c)) &amp; text(Month(Key_topic_last_update_date__c)) = 
text(Year(today())) &amp; text(Month(today())-1),&quot;上个月更新&quot;, 
 
&quot;最近2个月没更新&quot;) 
 
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>更新情况</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>