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/Report__c/validationRules/VOC_finish_chk.validationRule-meta.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/objects/Report__c/validationRules/VOC_finish_chk.validationRule-meta.xml b/force-app/main/default/objects/Report__c/validationRules/VOC_finish_chk.validationRule-meta.xml index dd1b3b8..8d86ea9 100644 --- a/force-app/main/default/objects/Report__c/validationRules/VOC_finish_chk.validationRule-meta.xml +++ b/force-app/main/default/objects/Report__c/validationRules/VOC_finish_chk.validationRule-meta.xml @@ -2,7 +2,7 @@ <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>VOC_finish_chk</fullName> <active>true</active> - <errorConditionFormula>RecordTypeId = "012C600000003KE" + <errorConditionFormula>RecordTypeId = "01210000000Qeky" && (TEXT(Status__c) = "瀹屾瘯" || TEXT(Status__c) = "缁撴灉纭瀹屾瘯") && Text(IsVOC__c) <> '鍏朵粬' && (ISCHANGED(Comment__c) -- Gitblit v1.9.1