binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
force-app/main/default/workflows/Account.workflow-meta.xml
@@ -88,9 +88,9 @@
    </alerts>
    <alerts>
        <fullName>Approach_Confirm</fullName>
        <ccEmails>wei_yin@olympus.com.cn.invalid</ccEmails>
        <ccEmails>dongfeng_li@olympus.com.cn.invalid</ccEmails>
        <ccEmails>xiaochang_yu@olympus.com.cn.invalid</ccEmails>
        <ccEmails>wei_yin@olympus.com.cn</ccEmails>
        <ccEmails>dongfeng_li@olympus.com.cn</ccEmails>
        <ccEmails>xiaochang_yu@olympus.com.cn</ccEmails>
        <description>审批通过</description>
        <protected>false</protected>
        <recipients>
@@ -104,7 +104,19 @@
        <description>资质审批通过邮件</description>
        <protected>false</protected>
        <recipients>
            <recipient>chunxia_gao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>jing_zhu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>jingjing_zhou@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>lewei_li@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -112,7 +124,27 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>lu_zheng@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>meng_cao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>qi_qiao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>wenjun_du@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>xiaoqian_chen@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>xue3_wang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -883,7 +915,11 @@
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>AND( Submit_Customer_target__c = TRUE, Plan_approved__c = TRUE, NOT(ISBLANK(Review_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c))</formula>
        <formula>AND(
Submit_Customer_target__c = TRUE,
Plan_approved__c = TRUE,
NOT(ISBLANK(Review_FSE__c)),
ISCHANGED(FSEManager_feedback_check_FSE__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -901,7 +937,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=4,month(today())=5,month(today())=6))</formula>
        <formula>AND(
Submit_Customer_target_FSE__c = true,
Plan_approved_FSE__c = true,
NOT(ISBLANK(Review_FSE__c)),
NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
ISCHANGED(FSEManager_feedback_check_FSE__c),
OR(month(today())=4,month(today())=5,month(today())=6))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -919,7 +961,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=7,month(today())=8,month(today())=9))</formula>
        <formula>AND(
Submit_Customer_target_FSE__c = true,
Plan_approved_FSE__c = true,
NOT(ISBLANK(Review_FSE__c)),
NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
ISCHANGED(FSEManager_feedback_check_FSE__c),
OR(month(today())=7,month(today())=8,month(today())=9))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -937,7 +985,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=10,month(today())=11,month(today())=12))</formula>
        <formula>AND(
Submit_Customer_target_FSE__c = true,
Plan_approved_FSE__c = true,
NOT(ISBLANK(Review_FSE__c)),
NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
ISCHANGED(FSEManager_feedback_check_FSE__c),
OR(month(today())=10,month(today())=11,month(today())=12))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -955,7 +1009,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=1,month(today())=2,month(today())=3))</formula>
        <formula>AND(
Submit_Customer_target_FSE__c = true,
Plan_approved_FSE__c = true,
NOT(ISBLANK(Review_FSE__c)),
NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
ISCHANGED(FSEManager_feedback_check_FSE__c),
OR(month(today())=1,month(today())=2,month(today())=3))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -972,12 +1032,12 @@
        <criteriaItems>
            <field>Account.Submit_Customer_target_FSE__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Account.Plan_approved_FSE__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Account.FSE_activity_target_Plan_check_day__c</field>
@@ -1011,7 +1071,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_FSE__c),    OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
        <formula>AND(ISCHANGED(Review_FSE__c),
   OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1025,7 +1086,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_Sales__c),    OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
        <formula>AND(ISCHANGED(Review_Sales__c),
   OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1039,7 +1101,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
        <formula>AND(ISCHANGED(Review_FSE__c),
OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1053,7 +1116,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
        <formula>AND(ISCHANGED(Review_Sales__c),
OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1067,7 +1131,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
        <formula>AND(ISCHANGED(Review_FSE__c),
OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1081,7 +1146,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
        <formula>AND(ISCHANGED(Review_Sales__c),
OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1095,7 +1161,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
        <formula>AND(ISCHANGED(Review_FSE__c),
OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1109,7 +1176,8 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
        <formula>AND(ISCHANGED(Review_Sales__c),
OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1119,7 +1187,12 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>OR( ISCHANGED(Name) ,  ISCHANGED(Site),  ISCHANGED(Alias_Name2__c),  ISCHANGED(City_Master__c),  ISCHANGED(Town__c),  ISCHANGED(Street__c))</formula>
        <formula>OR( ISCHANGED(Name) ,
ISCHANGED(Site),
ISCHANGED(Alias_Name2__c),
ISCHANGED(City_Master__c),
ISCHANGED(Town__c),
ISCHANGED(Street__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1375,7 +1448,14 @@
        </actions>
        <active>false</active>
        <description>レコードタイプ契約の時だけ動きます。</description>
        <formula>Or(   And(     Isnew(),     Not(ISPICKVAL(Contract_Fiscal_Period__c, &apos;&apos;))   ),   Ischanged(Contract_Fiscal_Period__c),    RecordType.DeveloperName = &apos;AgencyContract&apos; )</formula>
        <formula>Or(
  And(
    Isnew(),
    Not(ISPICKVAL(Contract_Fiscal_Period__c, &apos;&apos;))
  ),
  Ischanged(Contract_Fiscal_Period__c),
   RecordType.DeveloperName = &apos;AgencyContract&apos;
)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1403,7 +1483,11 @@
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>AND( Submit_Customer_target__c = TRUE, Plan_approved__c = TRUE, NOT(ISBLANK(Review_Sales__c)), ISCHANGED(Manager_feedback_check__c))</formula>
        <formula>AND(
Submit_Customer_target__c = TRUE,
Plan_approved__c = TRUE,
NOT(ISBLANK(Review_Sales__c)),
ISCHANGED(Manager_feedback_check__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1421,7 +1505,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)), NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=4,month(today())=5,month(today())=6) )</formula>
        <formula>AND(
Submit_Customer_target__c = true,
Plan_approved__c = true,
NOT(ISBLANK(Review_Sales__c)),
NOT(ISBLANK(Manager_feedback_check__c)),
ISCHANGED(Manager_feedback_check__c),
OR(month(today())=4,month(today())=5,month(today())=6) )</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1439,7 +1529,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)),  NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=7,month(today())=8,month(today())=9) )</formula>
        <formula>AND(
Submit_Customer_target__c = true,
Plan_approved__c = true,
NOT(ISBLANK(Review_Sales__c)),
NOT(ISBLANK(Manager_feedback_check__c)),
ISCHANGED(Manager_feedback_check__c),
OR(month(today())=7,month(today())=8,month(today())=9) )</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1457,7 +1553,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)),  NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=10,month(today())=11,month(today())=12) )</formula>
        <formula>AND(
Submit_Customer_target__c = true,
Plan_approved__c = true,
NOT(ISBLANK(Review_Sales__c)),
NOT(ISBLANK(Manager_feedback_check__c)),
ISCHANGED(Manager_feedback_check__c),
OR(month(today())=10,month(today())=11,month(today())=12) )</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1475,7 +1577,13 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)), NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=1,month(today())=2,month(today())=3) )</formula>
        <formula>AND(
Submit_Customer_target__c = true,
Plan_approved__c = true,
NOT(ISBLANK(Review_Sales__c)),
NOT(ISBLANK(Manager_feedback_check__c)),
ISCHANGED(Manager_feedback_check__c),
OR(month(today())=1,month(today())=2,month(today())=3) )</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1492,12 +1600,12 @@
        <criteriaItems>
            <field>Account.Submit_Customer_target__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Account.Plan_approved__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Account.Sales_activity_target_Plan_check_day__c</field>