binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
force-app/main/default/workflows/OpportunityLineItem.workflow-meta.xml
@@ -137,9 +137,28 @@
            <name>Important_Rroduct_update</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <description>5月22日:追加重点产品公式(16-20个)</description>
        <formula>Or( OCM_Sales_Forecast_Product1__c != 0,  OCM_Sales_Forecast_Product2__c != 0,  OCM_Sales_Forecast_Product3__c != 0,  OCM_Sales_Forecast_Product4__c != 0,  OCM_Sales_Forecast_Product5__c != 0,  OCM_Sales_Forecast_Product6__c != 0,  OCM_Sales_Forecast_Product7__c != 0,  OCM_Sales_Forecast_Product8__c != 0,  OCM_Sales_Forecast_Product9__c != 0,  OCM_Sales_Forecast_Product10__c != 0,  OCM_Sales_Forecast_Product11__c != 0,  OCM_Sales_Forecast_Product12__c != 0,  OCM_Sales_Forecast_Product13__c != 0,  OCM_Sales_Forecast_Product14__c != 0,  OCM_Sales_Forecast_Product15__c != 0,  OCM_Sales_Forecast_Product16__c != 0,  OCM_Sales_Forecast_Product17__c != 0,  OCM_Sales_Forecast_Product18__c != 0,  OCM_Sales_Forecast_Product19__c != 0,  OCM_Sales_Forecast_Product20__c != 0 )</formula>
        <formula>Or( OCM_Sales_Forecast_Product1__c != 0,
OCM_Sales_Forecast_Product2__c != 0,
OCM_Sales_Forecast_Product3__c != 0,
OCM_Sales_Forecast_Product4__c != 0,
OCM_Sales_Forecast_Product5__c != 0,
OCM_Sales_Forecast_Product6__c != 0,
OCM_Sales_Forecast_Product7__c != 0,
OCM_Sales_Forecast_Product8__c != 0,
OCM_Sales_Forecast_Product9__c != 0,
OCM_Sales_Forecast_Product10__c != 0,
OCM_Sales_Forecast_Product11__c != 0,
OCM_Sales_Forecast_Product12__c != 0,
OCM_Sales_Forecast_Product13__c != 0,
OCM_Sales_Forecast_Product14__c != 0,
OCM_Sales_Forecast_Product15__c != 0,
OCM_Sales_Forecast_Product16__c != 0,
OCM_Sales_Forecast_Product17__c != 0,
OCM_Sales_Forecast_Product18__c != 0,
OCM_Sales_Forecast_Product19__c != 0,
OCM_Sales_Forecast_Product20__c != 0 )</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
@@ -148,9 +167,29 @@
            <name>Important_Rroduct_Update2</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <description>5月22日:追加重点产品公式(16-20个)</description>
        <formula>And( OCM_Sales_Forecast_Product1__c = 0,  OCM_Sales_Forecast_Product2__c = 0,  OCM_Sales_Forecast_Product3__c = 0,  OCM_Sales_Forecast_Product4__c = 0,  OCM_Sales_Forecast_Product5__c = 0,  OCM_Sales_Forecast_Product6__c = 0,  OCM_Sales_Forecast_Product7__c = 0,  OCM_Sales_Forecast_Product8__c = 0,  OCM_Sales_Forecast_Product9__c = 0,  OCM_Sales_Forecast_Product10__c = 0,  OCM_Sales_Forecast_Product11__c = 0,  OCM_Sales_Forecast_Product12__c = 0,  OCM_Sales_Forecast_Product13__c = 0,  OCM_Sales_Forecast_Product14__c = 0,  OCM_Sales_Forecast_Product15__c = 0, OCM_Sales_Forecast_Product16__c = 0,  OCM_Sales_Forecast_Product17__c = 0,  OCM_Sales_Forecast_Product18__c = 0,  OCM_Sales_Forecast_Product19__c = 0,  OCM_Sales_Forecast_Product20__c = 0 )</formula>
        <formula>And( OCM_Sales_Forecast_Product1__c = 0,
OCM_Sales_Forecast_Product2__c = 0,
OCM_Sales_Forecast_Product3__c = 0,
OCM_Sales_Forecast_Product4__c = 0,
OCM_Sales_Forecast_Product5__c = 0,
OCM_Sales_Forecast_Product6__c = 0,
OCM_Sales_Forecast_Product7__c = 0,
OCM_Sales_Forecast_Product8__c = 0,
OCM_Sales_Forecast_Product9__c = 0,
OCM_Sales_Forecast_Product10__c = 0,
OCM_Sales_Forecast_Product11__c = 0,
OCM_Sales_Forecast_Product12__c = 0,
OCM_Sales_Forecast_Product13__c = 0,
OCM_Sales_Forecast_Product14__c = 0,
OCM_Sales_Forecast_Product15__c = 0,
OCM_Sales_Forecast_Product16__c = 0,
OCM_Sales_Forecast_Product17__c = 0,
OCM_Sales_Forecast_Product18__c = 0,
OCM_Sales_Forecast_Product19__c = 0,
OCM_Sales_Forecast_Product20__c = 0
)</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
@@ -159,7 +198,7 @@
            <name>OCM_man_province_txt_set</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <formula>ISNEW() || OCM_man_province__c &lt;&gt;  OCM_man_province_txt__c</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -169,7 +208,7 @@
            <name>updateBackOfficeUseForecastProduct</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <formula>true</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -179,11 +218,11 @@
            <name>EPT1</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>OpportunityLineItem.If_EP_T1__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -193,7 +232,7 @@
            <name>strategyProductToText</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <description>SWAG-BGCCB9</description>
        <formula>true</formula>
        <triggerType>onAllChanges</triggerType>
@@ -204,11 +243,11 @@
            <name>oppPro_is170</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>OpportunityLineItem.If_170Pro_F__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -218,11 +257,11 @@
            <name>oppPro_isOER_AW</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>OpportunityLineItem.If_OER_AW_F__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -232,11 +271,11 @@
            <name>UpdateDangerousChemicals</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>OpportunityLineItem.Is_DangerousChemicals_F__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -246,11 +285,11 @@
            <name>oppPro_isAH</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>OpportunityLineItem.If_AHPro_F__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -260,7 +299,7 @@
            <name>OpplineItemTotalPrice_Set</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <formula>true</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -270,7 +309,7 @@
            <name>set_opp_deliver_date</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <formula>true</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>