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/objects/Asset/validationRules/FSE_Cannot_change_to_other_hospital.validationRule-meta.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/objects/Asset/validationRules/FSE_Cannot_change_to_other_hospital.validationRule-meta.xml b/force-app/main/default/objects/Asset/validationRules/FSE_Cannot_change_to_other_hospital.validationRule-meta.xml
index 4534bad..347370c 100644
--- a/force-app/main/default/objects/Asset/validationRules/FSE_Cannot_change_to_other_hospital.validationRule-meta.xml
+++ b/force-app/main/default/objects/Asset/validationRules/FSE_Cannot_change_to_other_hospital.validationRule-meta.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>FSE_Cannot_change_to_other_hospital</fullName>
- <active>false</active>
+ <active>true</active>
<description>SWAG-C8MB5U</description>
<errorConditionFormula>$User.Batch_User__c = false &&
$User.ProfileId <> LEFT($Label.ProfileId_SystemAdmin, 15) && OR(CONTAINS($Profile.Name, '2S5'),CONTAINS($Profile.Name, '2S6'),CONTAINS($Profile.Name, '2S8'),CONTAINS($Profile.Name, '2S9'),CONTAINS($Profile.Name, '2S1')) &&
NOT(ISNEW()) &&
Account.Parent.ParentId <> PRIORVALUE( Hospital__c ) && NOT( OR( Product2.Dealer_special_Object__c , Product2.Dealer_Object__c, Product2.ENG_DeaerProFlag__c )) &&
-Account.RecordTypeId <> '012C600000003HG' && RecordTypeId <> '012C600000003Hv'</errorConditionFormula>
+Account.RecordTypeId <> '01210000000gT1X' && RecordTypeId <> '01210000000kOPR'</errorConditionFormula>
<errorDisplayField>AccountId</errorDisplayField>
<errorMessage>涓嶈兘淇敼涓哄叾浠栧尰闄㈢殑绉戝銆�</errorMessage>
</ValidationRule>
--
Gitblit v1.9.1