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 ++++++++++++++++++++++-----------
 1 files changed, 44 insertions(+), 22 deletions(-)

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) = &apos;宸叉壒鍑�&apos; &amp;&amp; Rental_Apply_Equipment_Set_Cnt__c &gt; 0 &amp;&amp; ISCHANGED(Status__c)</formula>
+        <triggerType>onAllChanges</triggerType>
+    </rules>
+    <rules>
         <fullName>鑽夋涓渶瑕佹彁浜ょ殑鐢宠</fullName>
         <active>true</active>
         <criteriaItems>

--
Gitblit v1.9.1