binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
force-app/main/default/objects/Statu_Achievements__c/fields/NextMonthly_ship_target__c.field-meta.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>NextMonthly_ship_target__c</fullName>
    <externalId>false</externalId>
    <formula>IF(AND(
    <description>IF(AND(
Valid_Statu_Achievements__c = 1, 
OR(DeliveryStatus__c=&quot;部分交货&quot;,DeliveryStatus__c=&quot;未交付&quot;,DeliveryStatus__c=&quot;部分交付&quot;), 
IF(ISBLANK(Shipping_Scheduled_Date__c), 
@@ -31,6 +30,25 @@
,True,False)</description>
    <externalId>false</externalId>
    <formula>IF(AND(
Valid_Statu_Achievements__c = 1,
OR(DeliveryStatus__c=&quot;部分交货&quot;,DeliveryStatus__c=&quot;未交付&quot;,DeliveryStatus__c=&quot;部分交付&quot;),
AND(
Shipping_Scheduled_Date_For_Report__c  &gt; IF(
MONTH(today()) = 12,
DATE(YEAR(today()), 12, 31),
DATE(YEAR(today()), MONTH(today()) + 1, 1) - 1 ),
Shipping_Scheduled_Date_For_Report__c  &lt;= IF(
MONTH( today() ) = 11,
DATE( YEAR( today() ), 12, 31 ),IF(
MONTH( today() ) = 12,
DATE( YEAR( today() ) + 1, 01, 31 ),
DATE( YEAR( today() ), MONTH ( today() ) + 2, 1 ) - 1 )))
)
,True,False)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>预测对象 : 次月发货预测(公式)</label>