binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
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>