binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
force-app/main/default/workflows/Repair_Quotation__c.workflow-meta.xml
@@ -9,6 +9,10 @@
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>haiqian_yu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shujuan_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -39,6 +43,10 @@
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>haiqian_yu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shujuan_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -67,6 +75,10 @@
        <recipients>
            <field>RC_Mail_Address__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>haiqian_yu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shujuan_liu@olympus.com.cn</recipient>
@@ -111,6 +123,10 @@
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>haiqian_yu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shujuan_liu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -151,6 +167,10 @@
        <recipients>
            <field>RC_Mail_Address__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>haiqian_yu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>shujuan_liu@olympus.com.cn</recipient>
@@ -601,7 +621,7 @@
            <name>Failure_Source_Update</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>Repair_Quotation__c.InspectionFailureCause__c</field>
            <operation>notEqual</operation>
@@ -619,11 +639,11 @@
            <name>QuotationStatusupdate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>Repair_Quotation__c.Quotation_agreement__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -637,13 +657,13 @@
        <criteriaItems>
            <field>Repair_Quotation__c.Decision_request__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>服务本部申请减价总监批准提醒</fullName>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>Repair_Quotation__c.ServiceCutPriceSubmitDateBZ__c</field>
            <operation>notEqual</operation>
@@ -674,7 +694,16 @@
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateBZ__c</offsetFromField>
            <timeLength>9</timeLength>
            <timeLength>12</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutZJ</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateBZ__c</offsetFromField>
            <timeLength>15</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
@@ -701,22 +730,13 @@
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateBZ__c</offsetFromField>
            <timeLength>15</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutZJ</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateBZ__c</offsetFromField>
            <timeLength>12</timeLength>
            <timeLength>9</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
    </rules>
    <rules>
        <fullName>服务本部申请减价经理批准提醒</fullName>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>Repair_Quotation__c.CutPriceStatus_Service__c</field>
            <operation>equals</operation>
@@ -742,15 +762,6 @@
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceApplyDate__c</offsetFromField>
            <timeLength>9</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutJL</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceApplyDate__c</offsetFromField>
            <timeLength>3</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
@@ -781,10 +792,19 @@
            <timeLength>15</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutJL</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceApplyDate__c</offsetFromField>
            <timeLength>9</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
    </rules>
    <rules>
        <fullName>服务本部申请减价部长批准提醒</fullName>
        <active>false</active>
        <active>true</active>
        <criteriaItems>
            <field>Repair_Quotation__c.CutPriceStatus_Service__c</field>
            <operation>equals</operation>
@@ -810,15 +830,6 @@
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateJL__c</offsetFromField>
            <timeLength>9</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutBZ</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateJL__c</offsetFromField>
            <timeLength>6</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
@@ -849,5 +860,14 @@
            <timeLength>15</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>ActionEmailRepairCutBZ</name>
                <type>Alert</type>
            </actions>
            <offsetFromField>Repair_Quotation__c.ServiceCutPriceSubmitDateJL__c</offsetFromField>
            <timeLength>9</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
    </rules>
</Workflow>