From 2ff0f0a7ab276c3466d9e06e14222db802194efc Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期六, 20 一月 2024 13:24:29 +0800
Subject: [PATCH] bakcupwf0120
---
force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml | 66 ++-
force-app/main/default/workflows/Monthly_Report__c.workflow-meta.xml | 218 ++++++++++
force-app/main/default/workflows/Lead.workflow-meta.xml | 424 +++++++++++++++++++++
manifest/packagewf.xml | 6
force-app/main/default/workflows/QIS_SC_Report__c.workflow-meta.xml | 273 +++++++++++++
force-app/main/default/workflows/Rental_Apply_Equipment_Set_Detail__c.workflow-meta.xml | 166 ++++++++
6 files changed, 1,130 insertions(+), 23 deletions(-)
diff --git a/force-app/main/default/workflows/Lead.workflow-meta.xml b/force-app/main/default/workflows/Lead.workflow-meta.xml
new file mode 100644
index 0000000..43a964d
--- /dev/null
+++ b/force-app/main/default/workflows/Lead.workflow-meta.xml
@@ -0,0 +1,424 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
+ <alerts>
+ <fullName>SendMailToLeadOwner</fullName>
+ <description>璐拱鎰忓悜鑷姩鍒嗛厤閭欢</description>
+ <protected>false</protected>
+ <recipients>
+ <type>owner</type>
+ </recipients>
+ <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
+ <senderType>OrgWideEmailAddress</senderType>
+ <template>Lead/SendMailToLeadOwner</template>
+ </alerts>
+ <fieldUpdates>
+ <fullName>Account_Salesdepartment</fullName>
+ <description>銉兗銉夈伄銆岃ê鐧傜-鏈儴銆嶃倰鏇存柊</description>
+ <field>Account_Salesdepartment__c</field>
+ <formula>IF(Hospital_Name__r.RecordTypeId = '01210000000QemG',
+ Hospital_Name__r.Salesdepartment_HP__c,
+IF(Hospital_Name__r.Parent.RecordTypeId = '01210000000QemG',
+ Hospital_Name__r.Parent.Salesdepartment_HP__c,
+ Hospital_Name__r.Parent.Parent.Salesdepartment_HP__c
+))</formula>
+ <name>銉兗銉夈伄銆岃ê鐧傜-鏈儴銆嶈ō瀹�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Assign_to_LeadSource</fullName>
+ <description>璇鹃锛歋WAG-C4H99E</description>
+ <field>LeadSource</field>
+ <literalValue>瀛︿細浼氳</literalValue>
+ <name>鏉ユ簮鍙栧��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Lead_Company_Set_DeptName</fullName>
+ <field>Company</field>
+ <formula>Hospital_Name__r.Name</formula>
+ <name>娼滃湪瀹㈡埛鍏徃 = 绉戝鍚�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Lead_NoCreat</fullName>
+ <field>Lead_No__c</field>
+ <formula>'IN' + '-' + Account_Province__c + "-" + Lead_NoDate__c + Lead_Num__c</formula>
+ <name>鎰忓悜缂栫爜浣滄垚</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>OSCM_Province_cus</fullName>
+ <field>OCM_man_province_cus_txt__c</field>
+ <formula>OCM_man_province_cus__c</formula>
+ <name>OSCM绠$悊鐪�(瀹㈡埛)鏇存柊</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Owner_Dep_Update</fullName>
+ <field>Owner_Dep_txt__c</field>
+ <formula>Owner_Dep__c</formula>
+ <name>閿�鍞湰閮�(鎵�鏈変汉)鏂囨湰鏇存柊</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>RecordLeadCreatorJobCategory</fullName>
+ <field>JobCategoryOfCreator__c</field>
+ <formula>TEXT($User.Job_Category__c)</formula>
+ <name>璁板綍鎰忓悜鍒涘缓浜鸿亴绉�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Seting_Account_for_search</fullName>
+ <field>Account_for_search__c</field>
+ <formula>Hospital_Name__r.Name</formula>
+ <name>璁惧畾-瀹㈡埛鍚嶏紙妫�绱㈢敤锛�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateMethod1</fullName>
+ <field>Sales_Method__c</field>
+ <literalValue>鏀垮簻鎷涙爣</literalValue>
+ <name>UpdateMethod1</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_Company</fullName>
+ <field>Company</field>
+ <formula>Hospital_Name__r.Name</formula>
+ <name>鏇存柊瀹㈡埛鍚�(鎵嬪姩)</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_Contact_FN</fullName>
+ <field>FirstName</field>
+ <formula>Contact_Name__r.FirstName</formula>
+ <name>鏇存柊鍚�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_Contact_LN</fullName>
+ <field>LastName</field>
+ <formula>Contact_Name__r.LastName</formula>
+ <name>鏇存柊濮�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_Leads_Account_State</fullName>
+ <field>Account_State__c</field>
+ <formula>IF(Hospital_Name__r.RecordTypeId = '01210000000QemG',
+ Hospital_Name__r.State_Master__r.Name,
+IF(Hospital_Name__r.Parent.RecordTypeId = '01210000000QemG',
+ Hospital_Name__r.Parent.State_Master__r.Name,
+ Hospital_Name__r.Parent.Parent.State_Master__r.Name
+))</formula>
+ <name>銉兗銉夈伄銆岃ê鐧傜-鐪併�嶃倰鏇存柊</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_Leads_Job_Category</fullName>
+ <field>Creator_Job_Category__c</field>
+ <formula>text( Owner:User.Job_Category__c)</formula>
+ <name>銉兗銉夈伄銆屼綔鎴愯��-鑱风ó銆嶃倰鏇存柊</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>autoset_lead_forecasted</fullName>
+ <field>Close_Forecasted_Date__c</field>
+ <formula>CreatedDate + 75</formula>
+ <name>鎰忓悜璁剧疆棰勬祴绛剧害鏃�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>record_begin_opp_date</fullName>
+ <field>begin_opp_date__c</field>
+ <formula>TODAY()</formula>
+ <name>璁板綍寮�濮嬭浠锋椂闂�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>record_have_opp_date</fullName>
+ <field>have_opp_date__c</field>
+ <formula>TODAY()</formula>
+ <name>璁板綍宸叉湁璇环鏃堕棿</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>record_no_need_date</fullName>
+ <field>no_need_date__c</field>
+ <formula>TODAY()</formula>
+ <name>璁板綍鏃犻渶姹傛椂闂�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <rules>
+ <fullName>LeadUpdateTemp</fullName>
+ <actions>
+ <name>UpdateMethod1</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.Sales_Method__c</field>
+ <operation>equals</operation>
+ <value>鍏紑鎷涙爣</value>
+ </criteriaItems>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>OCSM绠$悊鐪�%28瀹㈡埛%29鏂囨湰鏇存柊</fullName>
+ <actions>
+ <name>OSCM_Province_cus</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>OR(ISNEW(), ISCHANGED( OCM_man_province_cus__c ), NOT(ISCHANGED( OCM_man_province_cus__c )))</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>RecordCreatorJobCategory</fullName>
+ <actions>
+ <name>RecordLeadCreatorJobCategory</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <description>褰撴柊寤烘剰鍚戞椂锛岃褰曞垱寤轰汉鐨勮亴绉�</description>
+ <formula>TRUE</formula>
+ <triggerType>onCreateOnly</triggerType>
+ </rules>
+ <rules>
+ <fullName>record_first_state_day</fullName>
+ <actions>
+ <name>record_begin_opp_date</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.Status</field>
+ <operation>equals</operation>
+ <value>纰鸿獚娓堛伩</value>
+ </criteriaItems>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+ <rules>
+ <fullName>record_second_state_day</fullName>
+ <actions>
+ <name>record_no_need_date</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.Status</field>
+ <operation>equals</operation>
+ <value>涓嶈</value>
+ </criteriaItems>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+ <rules>
+ <fullName>record_third_state_day</fullName>
+ <actions>
+ <name>record_have_opp_date</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.Status</field>
+ <operation>equals</operation>
+ <value>涓嶇敤(閲嶅)</value>
+ </criteriaItems>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+ <rules>
+ <fullName>銉兗銉�-姣庡洖瀹熻鍏紡鍙樻垚鍒版枃鏈�</fullName>
+ <actions>
+ <name>Account_Salesdepartment</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Seting_Account_for_search</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Update_Leads_Account_State</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Update_Leads_Job_Category</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>true</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>涓昏瀛︿細鏈夊��%EF%BC%8C鏉ユ簮榛樿涓哄浼氫細璁�</fullName>
+ <actions>
+ <name>Assign_to_LeadSource</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <description>涓昏瀛︿細鍏宠仈浜嗕細璁椂锛岀郴缁熻嚜鍔ㄩ粯璁ゆ潵婧�=瀛︿細浼氳
+璇鹃锛歋WAG-C4H99E</description>
+ <formula>!ISBLANK(Campaign__c)</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>瀹㈡埛鍚嶇敓鍚屾</fullName>
+ <actions>
+ <name>Update_Company</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Update_Contact_FN</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Update_Contact_LN</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>AND(Not(isnull(Hospital_Name__c)),Not(isnull(Contact_Name__c)),Not(isblank(Hospital_Name__c)),Not(isblank(Contact_Name__c)))</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>鎰忓悜缂栫爜鑷姩鐢熶骇</fullName>
+ <actions>
+ <name>Lead_NoCreat</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>True</formula>
+ <triggerType>onCreateOnly</triggerType>
+ </rules>
+ <rules>
+ <fullName>鏂板缓璐拱鎰忓悜</fullName>
+ <actions>
+ <name>Lead_Company_Set_DeptName</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.Company</field>
+ <operation>equals</operation>
+ <value>*</value>
+ </criteriaItems>
+ <triggerType>onCreateOnly</triggerType>
+ </rules>
+ <rules>
+ <fullName>鏈窡杩涘畬姣曠殑璐拱鎰忓悜</fullName>
+ <active>true</active>
+ <booleanFilter>1</booleanFilter>
+ <criteriaItems>
+ <field>Lead.Status</field>
+ <operation>contains</operation>
+ <value>璺熻繘涓�,鏈⒑瑾�</value>
+ </criteriaItems>
+ <description>鐘舵�佷负"鏈窡杩�""璺熻繘涓�"鐨勬剰鍚�.</description>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ <workflowTimeTriggers>
+ <offsetFromField>Lead.CreatedDate</offsetFromField>
+ <timeLength>3</timeLength>
+ <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
+ </workflowTimeTriggers>
+ </rules>
+ <rules>
+ <fullName>璁剧疆棰勬祴绛剧害鏃�</fullName>
+ <actions>
+ <name>autoset_lead_forecasted</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>ISNULL(Close_Forecasted_Date__c )|| (Close_Forecasted_Date__c < DATEVALUE(CreatedDate)+75 && ET_Check__c==false)</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>閭欢鍒嗛厤缁欒喘涔版剰鍚戞墍鏈変汉</fullName>
+ <actions>
+ <name>SendMailToLeadOwner</name>
+ <type>Alert</type>
+ </actions>
+ <active>true</active>
+ <criteriaItems>
+ <field>Lead.SendMailToOwner__c</field>
+ <operation>equals</operation>
+ <value>鐪�</value>
+ </criteriaItems>
+ <triggerType>onCreateOnly</triggerType>
+ </rules>
+ <rules>
+ <fullName>閿�鍞湰閮�%EF%BC%88鎵�鏈変汉%EF%BC%89鏂囨湰鏇存柊</fullName>
+ <actions>
+ <name>Owner_Dep_Update</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>OR(ISNEW(), ISCHANGED( Owner_Dep__c ), NOT(ISCHANGED( Owner_Dep__c )))</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <tasks>
+ <fullName>Not_follow_up_Sales_lead</fullName>
+ <assignedToType>owner</assignedToType>
+ <description>鍏堢敓/濂冲+:
+
+鎮ㄦ湁鏈窡杩涘畬姣曠殑璐拱鎰忓悜,璇锋墦寮�SalesForce"璐拱鎰忓悜"閫夐」鍗¤繘琛岃窡杩涘鐞�,璋㈣阿!</description>
+ <dueDateOffset>4</dueDateOffset>
+ <notifyAssignee>true</notifyAssignee>
+ <offsetFromField>Lead.CreatedDate</offsetFromField>
+ <priority>楂�</priority>
+ <protected>false</protected>
+ <status>鏈潃鎵�</status>
+ <subject>鏈窡杩涘畬姣曠殑璐拱鎰忓悜</subject>
+ </tasks>
+</Workflow>
diff --git a/force-app/main/default/workflows/Monthly_Report__c.workflow-meta.xml b/force-app/main/default/workflows/Monthly_Report__c.workflow-meta.xml
new file mode 100644
index 0000000..78c446c
--- /dev/null
+++ b/force-app/main/default/workflows/Monthly_Report__c.workflow-meta.xml
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
+ <alerts>
+ <fullName>weekly_report_cc_other</fullName>
+ <description>鍛ㄦ姤CC锛堟湇鍔′互澶栵級</description>
+ <protected>false</protected>
+ <recipients>
+ <type>owner</type>
+ </recipients>
+ <recipients>
+ <field>BuchangApprovalManagerSales__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>TongkuoZongjian__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>ZongjianApprovalManager__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>Olympus_OCM/Weekly_report_submit</template>
+ </alerts>
+ <alerts>
+ <fullName>weekly_report_cc_servles</fullName>
+ <description>鍛ㄦ姤CC锛堟湇鍔★級</description>
+ <protected>false</protected>
+ <recipients>
+ <type>owner</type>
+ </recipients>
+ <recipients>
+ <field>BuchangApprovalManager__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>TongkuoZongjian__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>ZongjianApprovalManager__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>Olympus_OCM/Weekly_report_submit</template>
+ </alerts>
+ <fieldUpdates>
+ <fullName>Change_to_approved</fullName>
+ <field>Status__c</field>
+ <literalValue>鎵瑰噯</literalValue>
+ <name>鐘舵�佹敼鍒版壒鍑�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Change_to_draft</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鐘舵�佽崏妗堜腑</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Change_to_submit</fullName>
+ <field>Status__c</field>
+ <literalValue>宸叉彁浜�</literalValue>
+ <name>鐘舵�佷慨鏀瑰埌鎻愪氦</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Feedback_day</fullName>
+ <field>Feedback_time__c</field>
+ <formula>now()</formula>
+ <name>杈撳叆鍙嶉鏃�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Job_Category_text</fullName>
+ <field>Job_category_text__c</field>
+ <formula>Job_category__c</formula>
+ <name>鑱岀 鏂囨湰鍖�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Month_text</fullName>
+ <field>Month_week_text__c</field>
+ <formula>Month_week__c</formula>
+ <name>鎶ュ憡鏈�(鏂囨湰)鏂囨湰鍖�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Post_text</fullName>
+ <field>Post_text__c</field>
+ <formula>Post__c</formula>
+ <name>鑱屼綅 鏂囨湰鍖�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Province_text</fullName>
+ <field>Province_text__c</field>
+ <formula>Province__c</formula>
+ <name>鐪� 鏂囨湰鍖�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Salesdepartment_text</fullName>
+ <field>SalesDept_text__c</field>
+ <formula>Salesdept__c</formula>
+ <name>閿�鍞湰閮� 鏂囨湰鍖�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Submit_Flag_Off</fullName>
+ <field>Submit__c</field>
+ <literalValue>0</literalValue>
+ <name>鎻愬嚭銉曘儵銈癘ff</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Submit_Flag_On</fullName>
+ <field>Submit__c</field>
+ <literalValue>1</literalValue>
+ <name>鎻愬嚭銉曘儵銈癘n</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Submit_date_blank</fullName>
+ <field>Submit_time__c</field>
+ <name>鎻愪氦鏃ユ敼鍒扮┖</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Null</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_submit_date</fullName>
+ <field>Submit_time__c</field>
+ <formula>Now()</formula>
+ <name>鎻愪氦鏃ユ洿鏂�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <rules>
+ <fullName>鍛ㄦ姤瀛楁鏂囨湰鍖�</fullName>
+ <actions>
+ <name>Job_Category_text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Month_text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Post_text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Province_text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <actions>
+ <name>Salesdepartment_text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>true</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>鍛ㄦ姤鎻愪氦閫氱煡</fullName>
+ <active>false</active>
+ <formula>ISCHANGED( Submit_check_flag__c )</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <tasks>
+ <fullName>ActionTask01</fullName>
+ <assignedToType>owner</assignedToType>
+ <dueDateOffset>0</dueDateOffset>
+ <notifyAssignee>true</notifyAssignee>
+ <priority>涓�</priority>
+ <protected>false</protected>
+ <status>鏈潃鎵�</status>
+ <subject>鏈堝牨鍗翠笅</subject>
+ </tasks>
+</Workflow>
diff --git a/force-app/main/default/workflows/QIS_SC_Report__c.workflow-meta.xml b/force-app/main/default/workflows/QIS_SC_Report__c.workflow-meta.xml
new file mode 100644
index 0000000..856ada8
--- /dev/null
+++ b/force-app/main/default/workflows/QIS_SC_Report__c.workflow-meta.xml
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
+ <alerts>
+ <fullName>ActionEmail21</fullName>
+ <description>甯傚満閮ㄩ�氱煡閮ㄩ暱锛屽搴旀柟娉曚负鈥滈�佸洖鈥濇椂</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>it_prectech@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/SC_ET_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>QIS1</fullName>
+ <description>閮ㄩ暱瀹℃壒瀹屾垚鍚庯紝鍙戦�侀偖浠剁粰鈥漄IS鍒ゅ畾缁撴灉閫氱煡鈥濇敹浠朵汉鍙婅惀涓氬姪鐞�</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>it_prectech@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_SC_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>QIS_Market_Classification1</fullName>
+ <description>閮ㄩ暱瀹℃壒瀹屾垚鍚庯紝鍙戦�侀偖浠剁粰鈥漄IS鍒ゅ畾缁撴灉閫氱煡鈥濇敹浠朵汉鍙婅惀涓氬姪鐞�</description>
+ <protected>false</protected>
+ <recipients>
+ <field>BusinessAssistantNos__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>QIS_FSE__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_SC_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>QIS_Market_Classification112</fullName>
+ <description>閮ㄩ暱瀹℃壒瀹屾垚鍚庯紝鍙戦�侀偖浠剁粰鈥漄IS鍒ゅ畾缁撴灉閫氱煡鈥濇敹浠朵汉鍙婅惀涓氬姪鐞�</description>
+ <protected>false</protected>
+ <recipients>
+ <field>BusinessAssistantNos__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>QIS_FSE__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_SC_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>QIS_Market_Classification122</fullName>
+ <description>閮ㄩ暱瀹℃壒瀹屾垚鍚庯紝鍙戦�侀偖浠剁粰鈥漄IS鍒ゅ畾缁撴灉閫氱煡鈥濇敹浠朵汉鍙婅惀涓氬姪鐞�</description>
+ <protected>false</protected>
+ <recipients>
+ <field>BusinessAssistantNos__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <recipients>
+ <field>QIS_FSE__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_SC_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>RC1</fullName>
+ <description>褰揜C鍒ゅ畾鐨勫搴旀柟娉曚负鈥滈�佸洖鈥濇椂锛岄�氱煡</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>it_prectech@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_ET_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>RC2</fullName>
+ <description>褰揜C鍒ゅ畾鐨勫搴旀柟娉曚负鈥滈�佸洖鈥濇椂锛屾寜鐓т互涓嬮偖浠堕�氱煡</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>it_prectech@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/QIS_ET_answer_submit_html</template>
+ </alerts>
+ <alerts>
+ <fullName>RC3</fullName>
+ <description>褰揜C鍒ゅ畾鐨勫搴旀柟娉曚负鈥滈�佸洖鈥濇椂锛屾寜鐓т互涓嬮偖浠堕�氱煡</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>it_prectech@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>QIS/SC_ET_answer_submit_html</template>
+ </alerts>
+ <fieldUpdates>
+ <fullName>ActionFieldUpdate</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>ActionFieldUpdate1</fullName>
+ <field>Status__c</field>
+ <literalValue>宸叉壒鍑�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>ActionFieldUpdate7</fullName>
+ <field>Status__c</field>
+ <literalValue>宸叉壒鍑�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>ActionFieldUpdate8</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>ActionFieldUpdate9</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UniqKeyUpd</fullName>
+ <field>UniqKey__c</field>
+ <formula>QIS_Report__c</formula>
+ <name>UniqKey鏇存柊</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus</fullName>
+ <field>Status__c</field>
+ <literalValue>鎵瑰噯涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus2</fullName>
+ <field>Status__c</field>
+ <literalValue>鎵瑰噯涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus3</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus4</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵��</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus5</fullName>
+ <field>Status__c</field>
+ <literalValue>宸叉彁浜�</literalValue>
+ <name>鏇存柊鐘舵�乢宸叉彁浜�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus6</fullName>
+ <field>Status__c</field>
+ <literalValue>鐢宠涓�</literalValue>
+ <name>鏇存柊鐘舵�乢鐢宠涓�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus7</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵�乢鑽夋涓�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateStatus8</fullName>
+ <field>Status__c</field>
+ <literalValue>鑽夋涓�</literalValue>
+ <name>鏇存柊鐘舵�乢鑽夋涓�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>UpdateYYZhuli</fullName>
+ <field>BusinessAssistantNoEmail__c</field>
+ <formula>BusinessAssistantNoEmail__c</formula>
+ <name>鏇存柊甯傚満閮ㄨ惀涓氬姪鐞�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <rules>
+ <fullName>鍏紡鎷疯礉鍒版枃鏈�</fullName>
+ <actions>
+ <name>UniqKeyUpd</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>true</active>
+ <formula>True</formula>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+ <rules>
+ <fullName>鍏紡鎷疯礉鍒版枃鏈惀涓氬姪鐞�</fullName>
+ <actions>
+ <name>UpdateYYZhuli</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>false</active>
+ <formula>True</formula>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+</Workflow>
diff --git a/force-app/main/default/workflows/Rental_Apply_Equipment_Set_Detail__c.workflow-meta.xml b/force-app/main/default/workflows/Rental_Apply_Equipment_Set_Detail__c.workflow-meta.xml
new file mode 100644
index 0000000..1643b08
--- /dev/null
+++ b/force-app/main/default/workflows/Rental_Apply_Equipment_Set_Detail__c.workflow-meta.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
+ <alerts>
+ <fullName>Adjust_Queue_Back</fullName>
+ <description>鎻掗槦鐢宠鎾ゅ洖鎻愰啋</description>
+ <protected>false</protected>
+ <recipients>
+ <type>owner</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>unfiled$public/Adjust_Queue_Back</template>
+ </alerts>
+ <alerts>
+ <fullName>Adjust_Queue_No</fullName>
+ <description>鎻掗槦鐢宠鎷掔粷鎻愰啋</description>
+ <protected>false</protected>
+ <recipients>
+ <type>owner</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>unfiled$public/Adjust_Queue_No</template>
+ </alerts>
+ <alerts>
+ <fullName>Adjust_Queue_Rental_Start</fullName>
+ <description>鎻掗槦鐢宠鎵瑰噯鎻愰啋閭欢-澶囧搧</description>
+ <protected>false</protected>
+ <recipients>
+ <recipient>honglei_li@olympus.com.cn</recipient>
+ <type>user</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>Loaner_function/Adjust_Queue_Window_Start</template>
+ </alerts>
+ <alerts>
+ <fullName>Adjust_Queue_Window_Start</fullName>
+ <description>鎻掗槦鐢宠鎵瑰噯鎻愰啋閭欢</description>
+ <protected>false</protected>
+ <recipients>
+ <field>BuchangApprovalManagerSales__c</field>
+ <type>userLookup</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>Loaner_function/Adjust_Queue_Window_Start</template>
+ </alerts>
+ <alerts>
+ <fullName>bp2_Inspect_Before_NG</fullName>
+ <description>鍙戣揣鍓嶆娴婲G閫氱煡</description>
+ <protected>false</protected>
+ <recipients>
+ <field>Loaner_centre_mail_address__c</field>
+ <type>email</type>
+ </recipients>
+ <senderType>CurrentUser</senderType>
+ <template>Loaner_function/Inspect_Before_NG_HTML</template>
+ </alerts>
+ <fieldUpdates>
+ <fullName>Cance_Allow_Adjust_Queue</fullName>
+ <field>Allow_Adjust_Queue_Flag__c</field>
+ <literalValue>0</literalValue>
+ <name>鎻掗槦鐢宠鍙栨秷</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Check_Allow_Adjust_Queue</fullName>
+ <field>Allow_Adjust_Queue_Flag__c</field>
+ <literalValue>1</literalValue>
+ <name>鎻掗槦鐢宠鏍囪</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Inspection_result_NG_update</fullName>
+ <field>Inspection_result_NG__c</field>
+ <literalValue>鎶ヤ慨</literalValue>
+ <name>鍙戣揣鍓嶆鏌G</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Lost_Giveup_time</fullName>
+ <field>Loaner_Giveup_Time__c</field>
+ <formula>now()</formula>
+ <name>娆犲搧鏂康鏃堕棿</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Pre_disinfection_NG_update</fullName>
+ <field>Pre_disinfection_NG__c</field>
+ <literalValue>1</literalValue>
+ <name>浜嬪墠鏈竻娲�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Queue_Day_Text</fullName>
+ <field>Queue_Day_Text__c</field>
+ <formula>Queue_Day__c</formula>
+ <name>鎺掗槦鏃�(棣栨)</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Formula</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Water_leacage_check_NG_update</fullName>
+ <field>Water_leacage_check_NG__c</field>
+ <literalValue>1</literalValue>
+ <name>娴嬫紡妫�鏌ョ粨鏋淣G</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>jumpReasonCancel</fullName>
+ <field>jumpReason__c</field>
+ <name>鎻掗槦鍘熷洜鍙栨秷</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Null</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <rules>
+ <fullName>鍙戣揣鍓嶆鏌G閫氱煡</fullName>
+ <actions>
+ <name>bp2_Inspect_Before_NG</name>
+ <type>Alert</type>
+ </actions>
+ <active>true</active>
+ <description>From 鍊熷嚭澶囧搧閰嶅涓�瑙�</description>
+ <formula>ISCHANGED(Inspection_result_NG__c) && OR(TEXT(Inspection_result_NG__c) = '缁翠慨',TEXT(Inspection_result_NG__c) = '搴熷純')</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
+ <fullName>鎺掗槦鏃�%28棣栨%29</fullName>
+ <actions>
+ <name>Queue_Day_Text</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>false</active>
+ <formula>RAESD_Status__c = '鎺掗槦涓�' && ISBLANK(Queue_Day_Text__c)</formula>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+ <rules>
+ <fullName>娆犲搧鏂康鏃堕棿</fullName>
+ <actions>
+ <name>Lost_Giveup_time</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>false</active>
+ <formula>Check_lost_Item_F__c = '娆犲搧' && Isblank(Loaner_Giveup_Time__c) && Lost_item_giveup__c = TRUE</formula>
+ <triggerType>onCreateOrTriggeringUpdate</triggerType>
+ </rules>
+</Workflow>
diff --git a/force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml b/force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml
index ed2fec1..a434007 100644
--- a/force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml
+++ b/force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml
@@ -467,7 +467,7 @@
<field>applyUser__c</field>
<type>userLookup</type>
</recipients>
- <senderAddress>lu_liu@olympus.com.cn</senderAddress>
+ <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
<senderType>OrgWideEmailAddress</senderType>
<template>Loaner_function/RentalApplyCantShipAll_HTML</template>
</alerts>
@@ -483,7 +483,7 @@
<field>applyUser__c</field>
<type>userLookup</type>
</recipients>
- <senderAddress>lu_liu@olympus.com.cn</senderAddress>
+ <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
<senderType>OrgWideEmailAddress</senderType>
<template>Loaner_function/RentalApplyOutStock</template>
</alerts>
@@ -499,7 +499,7 @@
<field>applyUser__c</field>
<type>userLookup</type>
</recipients>
- <senderAddress>lu_liu@olympus.com.cn</senderAddress>
+ <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
<senderType>OrgWideEmailAddress</senderType>
<template>Loaner_function/RentalApplyWariateInfo</template>
</alerts>
@@ -894,25 +894,6 @@
<reevaluateOnChange>false</reevaluateOnChange>
</fieldUpdates>
<fieldUpdates>
- <fullName>OPDApprovalStatus_update_fail</fullName>
- <field>OPDApprovalStatus__c</field>
- <name>OPD瀹℃壒閫氳繃鑷姩鎻愪氦瀹℃壒鐘舵�佹洿鏂� 绌�</name>
- <notifyAssignee>false</notifyAssignee>
- <operation>Literal</operation>
- <protected>false</protected>
- <reevaluateOnChange>false</reevaluateOnChange>
- </fieldUpdates>
- <fieldUpdates>
- <fullName>OPDApprovalStatus_update_success</fullName>
- <field>OPDApprovalStatus__c</field>
- <literalValue>鎵瑰噯</literalValue>
- <name>OPD瀹℃壒閫氳繃鑷姩鎻愪氦瀹℃壒鐘舵�佹洿鏂� 鎵瑰噯</name>
- <notifyAssignee>false</notifyAssignee>
- <operation>Literal</operation>
- <protected>false</protected>
- <reevaluateOnChange>false</reevaluateOnChange>
- </fieldUpdates>
- <fieldUpdates>
<fullName>Onwer_job_category</fullName>
<field>Onwer_job_category_text__c</field>
<formula>Onwer_job_category__c</formula>
@@ -1001,6 +982,26 @@
<operation>Formula</operation>
<protected>false</protected>
<reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Status_back</fullName>
+ <field>Status__c</field>
+ <literalValue>寮曞綋娓�</literalValue>
+ <name>鐘舵�佹洿鏂�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>true</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Status_update</fullName>
+ <field>Status__c</field>
+ <literalValue>鍑哄簱鎸囩ず娓�</literalValue>
+ <name>鐘舵�佹洿鏂�</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>true</reevaluateOnChange>
</fieldUpdates>
<fieldUpdates>
<fullName>UpdateJumpDateRental</fullName>
@@ -1316,6 +1317,16 @@
<field>Status__c</field>
<literalValue>宸叉壒鍑�</literalValue>
<name>鏇存柊澶囧搧鍊熷嚭鐢宠鐘舵�� 鎵瑰噯</name>
+ <notifyAssignee>false</notifyAssignee>
+ <operation>Literal</operation>
+ <protected>false</protected>
+ <reevaluateOnChange>false</reevaluateOnChange>
+ </fieldUpdates>
+ <fieldUpdates>
+ <fullName>Update_ra_status_yindang</fullName>
+ <field>Status__c</field>
+ <literalValue>寮曞綋瀹屼簡</literalValue>
+ <name>鏇存柊澶囧搧鍊熷嚭鐢宠鐘舵�� 寮曞綋瀹屼簡</name>
<notifyAssignee>false</notifyAssignee>
<operation>Literal</operation>
<protected>false</protected>
@@ -1661,6 +1672,17 @@
<triggerType>onCreateOrTriggeringUpdate</triggerType>
</rules>
<rules>
+ <fullName>鑷姩寮曞綋瀹屼簡%EF%BC%88鍏堝紩褰撳啀鎵瑰噯%EF%BC%89</fullName>
+ <actions>
+ <name>Update_ra_status_yindang</name>
+ <type>FieldUpdate</type>
+ </actions>
+ <active>false</active>
+ <description>//bp2 inactive</description>
+ <formula>TEXT(Status__c) = '宸叉壒鍑�' && Rental_Apply_Equipment_Set_Cnt__c > 0 && ISCHANGED(Status__c)</formula>
+ <triggerType>onAllChanges</triggerType>
+ </rules>
+ <rules>
<fullName>鑽夋涓渶瑕佹彁浜ょ殑鐢宠</fullName>
<active>true</active>
<criteriaItems>
diff --git a/manifest/packagewf.xml b/manifest/packagewf.xml
index 7bf4af4..83b2d97 100644
--- a/manifest/packagewf.xml
+++ b/manifest/packagewf.xml
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
- <members>*</members>
+ <members>Lead</members>
+ <members>Monthly_Report__c</members>
+ <members>Rental_Apply_Equipment_Set_Detail__c</members>
+ <members>QIS_SC_Report__c</members>
+ <members>CancelPostponePlan__c</members>
<name>WorkFlow</name>
</types>
<version>59.0</version>
--
Gitblit v1.9.1