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/Consum_Apply__c/validationRules/Must_Is_DeptClas.validationRule-meta.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/objects/Consum_Apply__c/validationRules/Must_Is_DeptClas.validationRule-meta.xml b/force-app/main/default/objects/Consum_Apply__c/validationRules/Must_Is_DeptClas.validationRule-meta.xml index 1268598..adac709 100644 --- a/force-app/main/default/objects/Consum_Apply__c/validationRules/Must_Is_DeptClas.validationRule-meta.xml +++ b/force-app/main/default/objects/Consum_Apply__c/validationRules/Must_Is_DeptClas.validationRule-meta.xml @@ -3,13 +3,13 @@ <fullName>Must_Is_DeptClas</fullName> <active>true</active> <description>蹇呴』濉啓璇ュ尰闄笅鐨勬垬鐣ョ瀹�</description> - <errorConditionFormula>$User.ProfileId <>'00eC800000005Cb' + <errorConditionFormula>$User.ProfileId <>'00e10000000Y3o5' && NOT($User.Batch_User__c) && Isnew() && OR ( /* 鐪嬬埗璁板綍锛屾槸鍖婚櫌锛屾病鏈夐�夌浉搴旂殑鎴樼暐绉戝 ==> 鎶ラ敊 */ -AND(Account__r.Parent.Parent.RecordTypeId = "012C600000003HZ", +AND(Account__r.Parent.Parent.RecordTypeId = "01210000000QemG", Account__r.ParentId <> Strategic_dept__c ) )</errorConditionFormula> -- Gitblit v1.9.1