游畅
2022-04-22 8eeae5a9d806731411df1e542f201573d50bc92b
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>PBENGAverageCoverageRate__c</fullName>
    <externalId>false</externalId>
    <formula>if(Year(today()) &gt; OCSMYear__c + 1 || Year(today()) &gt; OCSMYear__c &amp;&amp; MONTH(today()) &gt; 3, (MonthVisitCoverageRate10_ENG_Text__c+ MonthVisitCoverageRate11_ENG_Text__c+ MonthVisitCoverageRate12_ENG_Text__c+ MonthVisitCoverageRate1_ENG_Text__c+ MonthVisitCoverageRate2_ENG_Text__c+ MonthVisitCoverageRate3_ENG_Text__c)/6, 
if( MONTH(today()) = 10 , 0 
 
(if(if(MONTH(today())-4&lt; 0, MONTH(today())+8, MONTH(today())-4)&gt; 6,MonthVisitCoverageRate10_ENG_Text__c ,0) 
if(if(MONTH(today())-4&lt; 0, MONTH(today())+8, MONTH(today())-4)&gt; 7,MonthVisitCoverageRate11_ENG_Text__c ,0) 
if(if(MONTH(today())-4&lt; 0, MONTH(today())+8, MONTH(today())-4)&gt; 8,MonthVisitCoverageRate12_ENG_Text__c ,0) 
if(if(MONTH(today())-4&lt; 0, MONTH(today())+8, MONTH(today())-4)&gt; 9,MonthVisitCoverageRate1_ENG_Text__c ,0) 
if(if(MONTH(today())-4&lt; 0, MONTH(today())+8, MONTH(today())-4)&gt; 10,MonthVisitCoverageRate2_ENG_Text__c ,0) 
/if(MONTH(today())-4&lt; 0, MONTH(today())+2, MONTH(today())-10) 
))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>覆盖率(PB能量)</label>
    <precision>18</precision>
    <required>false</required>
    <scale>0</scale>
    <trackTrending>false</trackTrending>
    <type>Percent</type>
</CustomField>