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/objects/Account/validationRules/Can_not_update_department_name.validationRule-meta.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/objects/Account/validationRules/Can_not_update_department_name.validationRule-meta.xml b/force-app/main/default/objects/Account/validationRules/Can_not_update_department_name.validationRule-meta.xml
index 3753487..2bbae70 100644
--- a/force-app/main/default/objects/Account/validationRules/Can_not_update_department_name.validationRule-meta.xml
+++ b/force-app/main/default/objects/Account/validationRules/Can_not_update_department_name.validationRule-meta.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>Can_not_update_department_name</fullName>
-    <active>false</active>
+    <active>true</active>
     <description>鍙湁绯荤粺绠$悊鍛樺拰鏈夋潈闄愮殑浜猴紝鎵嶈兘鏇存柊瀹㈡埛鍚嶃��</description>
     <errorConditionFormula>($User.ProfileId != &apos;00e10000000xo1D&apos; &amp;&amp; $User.ProfileId !=&apos;00e10000000Y3o5&apos; &amp;&amp; $User.ProfileId !=&apos;00e10000000xnpR&apos;
 &amp;&amp; $User.ProfileId !=&apos;00e10000000xyK6&apos; &amp;&amp; $User.ProfileId !=&apos;00e10000000NbCE&apos; &amp;&amp; $User.ProfileId !=&apos;00e10000000xnpb&apos;) &amp;&amp; ISCHANGED(Department_Name__c)</errorConditionFormula>

--
Gitblit v1.9.1