From 4688e276eee13cd2e521aa55afb5725cb0fda270 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期一, 22 一月 2024 21:21:18 +0800 Subject: [PATCH] backuprentalapply0122 --- force-app/main/default/objects/Asset/validationRules/Cannot_change_to_other_department_class.validationRule-meta.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/objects/Asset/validationRules/Cannot_change_to_other_department_class.validationRule-meta.xml b/force-app/main/default/objects/Asset/validationRules/Cannot_change_to_other_department_class.validationRule-meta.xml index 9467906..9a035a7 100644 --- a/force-app/main/default/objects/Asset/validationRules/Cannot_change_to_other_department_class.validationRule-meta.xml +++ b/force-app/main/default/objects/Asset/validationRules/Cannot_change_to_other_department_class.validationRule-meta.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>Cannot_change_to_other_department_class</fullName> - <active>false</active> + <active>true</active> <description>HWAG-AUA5GR SWAG-C67ASQ 鏉冮檺鍏堢粰鍔╃悊2S6/2S8/2S9 1208 鍚屾椂涔熺粰2S5</description> @@ -9,7 +9,7 @@ $User.ProfileId <> LEFT($Label.ProfileId_SystemAdmin, 15) && NOT(ISNEW()) && ISCHANGED(AccountId) && Account.ParentId <> PRIORVALUE(Department_Class__c) && NOT( OR( Product2.Dealer_special_Object__c , Product2.Dealer_Object__c, Product2.ENG_DeaerProFlag__c )) && -Account.RecordTypeId <> '012C600000003HG' && RecordTypeId <> '012C600000003Hv' +Account.RecordTypeId <> '01210000000gT1X' && RecordTypeId <> '01210000000kOPR' && !CONTAINS($Profile.Name, '2S5') &&!CONTAINS($Profile.Name, '2S6') && !CONTAINS($Profile.Name, '2S8') && !CONTAINS($Profile.Name, '2S9')&& -- Gitblit v1.9.1