<?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,"发货预测")),
|
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>
|