涂煌豪
2022-04-11 a002dc01b27e6281f163eb35661c4a9e9541ea52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>NextMonthly_Forecast_in_thismonth__c</fullName>
    <externalId>false</externalId>
    <formula>IF(
AND(
OR(NOT(ISBLANK(NM_forecast_onemonth_before__c)),
CONTAINS(Opportunity__r.NM_Forecast_onemonth_before__c,&quot;发货预测&quot;)),
NOT(ISBLANK(DeliveryDate__c)),
AND(YEAR(DeliveryDate__c)=IF(MONTH(today())=1,YEAR(today())-1,YEAR(today())),MONTH(DeliveryDate__c)=IF(MONTH(today())=1,12,MONTH(today())-1)
)
),1,0)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>次月的上月预测内发货条数</label>
    <precision>18</precision>
    <required>false</required>
    <scale>0</scale>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Number</type>
    <unique>false</unique>
</CustomField>