binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
force-app/main/default/workflows/QIS_Report__c.workflow-meta.xml
@@ -9,10 +9,14 @@
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>hiroki_hotta@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/AE_Allowed1_QIS</template>
    </alerts>
@@ -25,10 +29,14 @@
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>hiroki_hotta@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/AE_NonAEUpd_QIS</template>
    </alerts>
@@ -45,6 +53,10 @@
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>hiroki_hotta@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -56,7 +68,11 @@
            <recipient>peiqiang_lin@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <recipients>
            <recipient>yoichi_murata@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/AE_NonAllowed2_QIS</template>
    </alerts>
@@ -107,11 +123,11 @@
    </alerts>
    <alerts>
        <fullName>MDR_QIS</fullName>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>xizhi_ma@olympus.com.cn.invalid</ccEmails>
        <ccEmails>osh-sfdc-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <ccEmails>xizhi_ma@olympus.com.cn</ccEmails>
        <ccEmails>osh-sfdc-member@olympus.com.cn</ccEmails>
        <description>2.QIS MDR邮件</description>
        <protected>false</protected>
        <recipients>
@@ -135,6 +151,7 @@
    <alerts>
        <fullName>Need_Report_QIS1</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <ccEmails>shuting_wang@olympus.com.cn</ccEmails>
        <description>OCSM要报告(EtQ已确认)</description>
        <protected>false</protected>
@@ -147,6 +164,10 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>chenlong_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>hengtao_huang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -162,13 +183,14 @@
            <recipient>peiqiang_lin@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>DOJ/Need_Report_QIS1</template>
    </alerts>
    <alerts>
        <fullName>Need_Report_QIS2</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <ccEmails>shuting_wang@olympus.com.cn</ccEmails>
        <description>OCSM要报告,AWARE DATE过10天后,尚未发报告,提醒邮件</description>
        <protected>false</protected>
@@ -181,6 +203,10 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>chenlong_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>hengtao_huang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -196,16 +222,16 @@
            <recipient>peiqiang_lin@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>DOJ/Need_Report_QIS_5Days</template>
    </alerts>
    <alerts>
        <fullName>OSH_finished</fullName>
        <ccEmails>OCM-Service-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-manager@olympus.com.cn</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <description>5.OSH判定确定后</description>
        <protected>false</protected>
        <recipients>
@@ -241,7 +267,7 @@
    </alerts>
    <alerts>
        <fullName>OSH_finished_Fanxiu_Aohui</fullName>
        <ccEmails>OSH-SORC-CC@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-SORC-CC@olympus.com.cn</ccEmails>
        <description>5.OSH判定确定后(翻修)奥辉</description>
        <protected>false</protected>
        <recipients>
@@ -289,10 +315,15 @@
        <fullName>PAE_Final_PAE_PAE</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>peiqiang_lin@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <description>PAE--Final时code有变化更新</description>
        <protected>false</protected>
        <recipients>
            <recipient>hui_zhao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>jiao_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -318,10 +349,15 @@
        <fullName>PAE_Final_PAE_Unknown</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>peiqiang_lin@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <description>PAE--Final时code变化Complaint_Number空</description>
        <protected>false</protected>
        <recipients>
            <recipient>hui_zhao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>jiao_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -347,11 +383,16 @@
        <fullName>PAE_Final_nonPAE_nonPAE</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>peiqiang_lin@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <ccEmails>OSH-SFDC-member@olympus.com.cn</ccEmails>
        <description>PAE--Final时code变化Complaint_Number空Intake和Final都是nonPAE</description>
        <protected>false</protected>
        <recipients>
            <recipient>haijie_yin@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>mengxin_zhou@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
@@ -361,10 +402,15 @@
        <fullName>PAE_Intake</fullName>
        <ccEmails>lili_zhang@olympus.com.cn</ccEmails>
        <ccEmails>peiqiang_lin@olympus.com.cn</ccEmails>
        <ccEmails>yoichi_murata@olympus.com.cn</ccEmails>
        <description>PAE--Intake时AE/PAE/Unknown</description>
        <protected>false</protected>
        <recipients>
            <recipient>hui_zhao@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>jiao_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -440,14 +486,14 @@
            <field>OCM_Manager_Mail__c</field>
            <type>email</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/QIS_AE_QIS1</template>
    </alerts>
    <alerts>
        <fullName>QIS_Cancel_submit_decline</fullName>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-SFDC-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-SFDC-member@olympus.com.cn</ccEmails>
        <description>2.QIS取消申请驳回</description>
        <protected>false</protected>
        <recipients>
@@ -485,7 +531,7 @@
            <field>RC_Manager__c</field>
            <type>userLookup</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/QIS_GotProduct</template>
    </alerts>
@@ -555,7 +601,7 @@
        <recipients>
            <type>owner</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/QIS_finish_all</template>
    </alerts>
@@ -593,10 +639,10 @@
    </alerts>
    <alerts>
        <fullName>RC_check_first</fullName>
        <ccEmails>OCM-Service-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-manager@olympus.com.cn</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <description>4.OCM判定确定后_第一次</description>
        <protected>false</protected>
        <recipients>
@@ -639,10 +685,10 @@
    </alerts>
    <alerts>
        <fullName>RC_finished</fullName>
        <ccEmails>OCM-Service-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-manager@olympus.com.cn</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <description>4.OCM判定确定后_非奥辉</description>
        <protected>false</protected>
        <recipients>
@@ -689,14 +735,18 @@
    </alerts>
    <alerts>
        <fullName>RC_finished_CIC</fullName>
        <ccEmails>OCM-Service-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-SORC-CC@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-manager@olympus.com.cn</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-SORC-CC@olympus.com.cn</ccEmails>
        <description>4.OCM判定确定后_奥辉</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <recipients>
            <recipient>hiroshi_endo@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shinichi_aihara@olympus.com.cn</recipient>
@@ -756,6 +806,10 @@
        <description>4.OCM特别对应 岩野总监驳回-部长-技术教育课</description>
        <protected>false</protected>
        <recipients>
            <recipient>shinichi_iwano@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <field>RC_Manager__c</field>
            <type>userLookup</type>
        </recipients>
@@ -790,9 +844,9 @@
    </alerts>
    <alerts>
        <fullName>SFDC_Cancel_Submit_Approve</fullName>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-SFDC-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-SFDC-member@olympus.com.cn</ccEmails>
        <description>2.QIS取消申请批准通知</description>
        <protected>false</protected>
        <recipients>
@@ -835,9 +889,9 @@
    </alerts>
    <alerts>
        <fullName>SFDC_Submit_Approve</fullName>
        <ccEmails>OCM-Service-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn.invalid</ccEmails>
        <ccEmails>OCM-Service-member@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-manager@olympus.com.cn</ccEmails>
        <ccEmails>OSH-PB-member@olympus.com.cn</ccEmails>
        <description>1.QIS申请批准通知</description>
        <protected>false</protected>
        <recipients>
@@ -928,7 +982,7 @@
            <field>Not_Get_Asset_Remind__c</field>
            <type>email</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/HalfMonthNotReceiveRemind</template>
    </alerts>
@@ -940,7 +994,7 @@
            <field>Not_Get_Asset_Remind__c</field>
            <type>email</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/OneMonthNotReceiveRemind</template>
    </alerts>
@@ -952,7 +1006,7 @@
            <field>Not_Get_Asset_Remind__c</field>
            <type>email</type>
        </recipients>
        <senderAddress>18523460502@163.com</senderAddress>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>QIS/twoMonthNotReceiveRemind</template>
    </alerts>
@@ -1881,6 +1935,24 @@
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>%22OCM服务本部收到实物%22按下后发信%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; CreatedBy.Salesdepartment__c = &quot;2.东北&quot;</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>%22OCM服务本部收到实物%22按下后发信%EF%BC%88华东%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; CreatedBy.Salesdepartment__c = &quot;5.华东&quot;</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>%22OCM服务本部收到实物%22按下后发信%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; (CreatedBy.Salesdepartment__c = &quot;1.华北&quot; || CreatedBy.Salesdepartment__c = &quot;3.西北&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>AE变成非AE_QIS</fullName>
        <actions>
            <name>AE_NONAE_QIS</name>
@@ -1894,7 +1966,7 @@
        <criteriaItems>
            <field>QIS_Report__c.ifDeadHurtChange__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <description>AE变成非AE_QIS</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
@@ -1948,7 +2020,7 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>RecordTypeId=&apos;012C600000003Jw&apos; &amp;&amp; ISCHANGED(QIS_OSH_answerdate__c) &amp;&amp; NOT(ISBLANK(QIS_OSH_answerdate__c))</formula>
        <formula>RecordTypeId=&apos;01210000000RLWm&apos; &amp;&amp; ISCHANGED(QIS_OSH_answerdate__c) &amp;&amp; NOT(ISBLANK(QIS_OSH_answerdate__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -2180,6 +2252,42 @@
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>OCM判定确定后_QIS无偿维修品</fullName>
        <actions>
            <name>QIS_FreeRepair</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <booleanFilter>1 AND  ( ( 2 AND 3 ) OR ( 4 AND 5 ) )</booleanFilter>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.OCM_judgement__c</field>
            <operation>equals</operation>
            <value>质量问题</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.OCM_judgement__c</field>
            <operation>equals</operation>
            <value>质量问题+非质量问题</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>有偿维修+无偿维修</value>
        </criteriaItems>
        <description>为了工厂受理人员更好的识别QIS无偿维修品并及时送往品保,【QIS判定结果通知】需要新增抄送人员</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>OCM判定确定后_奥辉</fullName>
        <actions>
            <name>RC_finished_CIC</name>
@@ -2194,7 +2302,7 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2213,7 +2321,7 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2237,7 +2345,7 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2252,13 +2360,36 @@
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND(RecordTypeId==&apos;01210000000RLWm&apos;, OR(AND(ISPICKVAL(OCM_judgement__c,&apos;非质量问题&apos;), OR(    ISPICKVAL(next_action__c,&apos;有偿维修&apos;),     ISPICKVAL(next_action__c,&apos;送回&apos;),      AND(ISPICKVAL(next_action__c,&apos;无偿维修&apos;), Special_follow__c = true),     AND(ISPICKVAL(next_action__c,&apos;无偿更换&apos;), Special_follow__c = true)    )), AND(ISPICKVAL(OCM_judgement__c,&apos;现象未发现&apos;), ISPICKVAL(next_action__c,&apos;送回&apos;))), AND(NOT(TEXT(MDR_information__c)=&apos;是&apos;),NOT(TEXT(isPAE_Profile__c)=&apos;YES&apos;),NOT(TEXT(isAE_Profile__c)=&apos;YES&apos;)))</formula>
        <formula>AND(RecordTypeId==&apos;01210000000RLWm&apos;, OR(AND(ISPICKVAL(OCM_judgement__c,&apos;非质量问题&apos;), OR(
   ISPICKVAL(next_action__c,&apos;有偿维修&apos;),
    ISPICKVAL(next_action__c,&apos;送回&apos;),
     AND(ISPICKVAL(next_action__c,&apos;无偿维修&apos;), Special_follow__c = true),
    AND(ISPICKVAL(next_action__c,&apos;无偿更换&apos;), Special_follow__c = true)
   )), AND(ISPICKVAL(OCM_judgement__c,&apos;现象未发现&apos;), ISPICKVAL(next_action__c,&apos;送回&apos;))), AND(NOT(TEXT(MDR_information__c)=&apos;是&apos;),NOT(TEXT(isPAE_Profile__c)=&apos;YES&apos;),NOT(TEXT(isAE_Profile__c)=&apos;YES&apos;)))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>OCM申请时发信%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <formula>CreatedBy.Salesdepartment__c = &quot;2.东北&quot; &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>OCM申请时发信%EF%BC%88华东%EF%BC%89</fullName>
        <active>false</active>
        <formula>CreatedBy.Salesdepartment__c = &quot;5.华东&quot; &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>OCM申请时发信%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <formula>(CreatedBy.Salesdepartment__c = &quot;1.华北&quot; || CreatedBy.Salesdepartment__c = &quot;3.西北&quot;) &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>OCM申请时发信%EF%BC%88华南%2F西南%EF%BC%89</fullName>
        <active>false</active>
        <formula>(CreatedBy.Salesdepartment__c = &quot;6.华南&quot; || CreatedBy.Salesdepartment__c = &quot;4.西南&quot;) &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
@@ -2314,7 +2445,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Mail_Send_Status__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2481,12 +2612,12 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.Mail_Send_Status__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2505,7 +2636,7 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2529,12 +2660,12 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.Mail_Send_Status__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -2803,21 +2934,6 @@
        </workflowTimeTriggers>
    </rules>
    <rules>
        <fullName>QIS未回答</fullName>
        <active>false</active>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>草案中</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
        <workflowTimeTriggers>
            <offsetFromField>QIS_Report__c.QIS_Submit_day__c</offsetFromField>
            <timeLength>1</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
    </rules>
    <rules>
        <fullName>QIS毎回実行公式变成到文本</fullName>
        <actions>
            <name>Account_State</name>
@@ -2857,7 +2973,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Is_ProductGot__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
        <workflowTimeTriggers>
@@ -2978,6 +3094,338 @@
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>delete %22OCM服务本部收到实物%22按下后发信%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; CreatedBy.Salesdepartment__c = &quot;2.东北销售本部&quot;</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete %22OCM服务本部收到实物%22按下后发信%EF%BC%88华东%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; CreatedBy.Salesdepartment__c = &quot;4.华东销售本部&quot;</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete %22OCM服务本部收到实物%22按下后发信%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <formula>ISCHANGED(QIS_Status__c) &amp;&amp; TEXT(QIS_Status__c) = &quot;RC检测中&quot; &amp;&amp; ISCHANGED(OCM_RC_RecievedDate__c) &amp;&amp; OCM_RC_RecievedDate__c != null &amp;&amp; PRIORVALUE(OCM_RC_RecievedDate__c) = null &amp;&amp; (CreatedBy.Salesdepartment__c = &quot;1.华北销售本部&quot; || CreatedBy.Salesdepartment__c = &quot;3.西北销售本部&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>2.东北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88东北%EF%BC%89修理</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>2.东北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88华东%EF%BC%89</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>5.华东</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88华东%EF%BC%89修理</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>5.华东</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>1.华北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>3.西北</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM判定确定后%EF%BC%88华北%2F西北%EF%BC%89修理</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>1.华北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>OSH检测申请</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>3.西北</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM申请时发信%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <formula>CreatedBy.Salesdepartment__c = &quot;2.东北&quot; &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM申请时发信%EF%BC%88华东%EF%BC%89</fullName>
        <active>false</active>
        <formula>CreatedBy.Salesdepartment__c = &quot;4.华东&quot; &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM申请时发信%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <formula>(CreatedBy.Salesdepartment__c = &quot;1.华北&quot; || CreatedBy.Salesdepartment__c = &quot;3.西北&quot;) &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>delete OCM申请时发信%EF%BC%88华南%2F西南%EF%BC%89</fullName>
        <active>false</active>
        <formula>(CreatedBy.Salesdepartment__c = &quot;6.华南&quot; || CreatedBy.Salesdepartment__c = &quot;4.西南&quot;) &amp;&amp; TEXT(QIS_Status__c) = &quot;OCM填写完毕&quot;</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88东北%EF%BC%89</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>2.东北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88东北%EF%BC%89修理</fullName>
        <active>false</active>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>2.东北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88华北%2F西北%EF%BC%89</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>1.华北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>3.西北</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88华北%2F西北%EF%BC%89修理</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>1.华北</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>3.西北</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88华南%2F西南%EF%BC%89</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>6.华南</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>notEqual</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>4.西南</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete OSH判定确定后%EF%BC%88华南%2F西南%EF%BC%89修理</fullName>
        <active>false</active>
        <booleanFilter>(1 OR 4 )AND 2 AND 3</booleanFilter>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>6.华南</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.next_action__c</field>
            <operation>equals</operation>
            <value>无偿维修,有偿维修,有偿维修+无偿维修</value>
        </criteriaItems>
        <criteriaItems>
            <field>User.Salesdepartment__c</field>
            <operation>equals</operation>
            <value>4.西南</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>delete QIS已回答%2F完毕</fullName>
        <actions>
            <name>RecordtypeUpdate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
            <operation>equals</operation>
            <value>已回答,完毕</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>公式拷贝文本QIS分类</fullName>
        <actions>
            <name>update_qis</name>
@@ -3007,7 +3455,7 @@
        <criteriaItems>
            <field>QIS_Report__c.SC_JudgeDate_Four__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.Market_Opinion__c</field>
@@ -3026,7 +3474,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_ENG_T4__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -3044,7 +3492,7 @@
        <criteriaItems>
            <field>QIS_Report__c.SC_JudgeDate_Four__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.Market_Opinion__c</field>
@@ -3063,7 +3511,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_EndoRapid_T4__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <description>判定日+4个工作日内市场部意见仍为空时发送EndoRapid邮件</description>
        <triggerType>onAllChanges</triggerType>
@@ -3082,7 +3530,7 @@
        <criteriaItems>
            <field>QIS_Report__c.SC_JudgeDate_Four__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.Market_Opinion__c</field>
@@ -3101,7 +3549,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_ET_T4__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -3115,7 +3563,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Reply_QIS__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <description>当QIS回答勾选时默认操作日期</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
@@ -3130,7 +3578,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Submit_QIS__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <description>提交QIS勾选时默认操作日期</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
@@ -3163,7 +3611,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_ENG__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -3195,7 +3643,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_ET__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -3227,7 +3675,7 @@
        <criteriaItems>
            <field>QIS_Report__c.Sent_EndoRapid__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -3241,7 +3689,7 @@
        <criteriaItems>
            <field>QIS_Report__c.is_aohui_product__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>QIS_Report__c.QIS_Status__c</field>
@@ -3258,7 +3706,8 @@
        </actions>
        <active>true</active>
        <description>这一工作流在安全信息选择是时,初始化安全内容为&apos;请24h内回复邮件问题&apos;,所以关掉这一工作流时,请重新启用原有验证规则Request_MDR_request_detail</description>
        <formula>ISPICKVAL(MDR_information__c, &apos;是&apos;) &amp;&amp;  isblank(MDR_detail__c)</formula>
        <formula>ISPICKVAL(MDR_information__c, &apos;是&apos;) &amp;&amp;
isblank(MDR_detail__c)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>