From e0de9222da210f9c8eb1a9f5400f936a14923e11 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期六, 20 一月 2024 13:16:47 +0800 Subject: [PATCH] addvalidationrule --- force-app/main/default/workflows/Rental_Apply__c.workflow-meta.xml | 66 +++++++++++---------------------- 1 files changed, 22 insertions(+), 44 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 a434007..ed2fec1 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>ocm_te2ampj@olympus.com.cn</senderAddress> + <senderAddress>lu_liu@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>ocm_te2ampj@olympus.com.cn</senderAddress> + <senderAddress>lu_liu@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>ocm_te2ampj@olympus.com.cn</senderAddress> + <senderAddress>lu_liu@olympus.com.cn</senderAddress> <senderType>OrgWideEmailAddress</senderType> <template>Loaner_function/RentalApplyWariateInfo</template> </alerts> @@ -894,6 +894,25 @@ <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> @@ -982,26 +1001,6 @@ <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> @@ -1317,16 +1316,6 @@ <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> @@ -1670,17 +1659,6 @@ <operation>notEqual</operation> </criteriaItems> <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> -- Gitblit v1.9.1