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/Consum_Apply_Flag_Confim.validationRule-meta.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/objects/Consum_Apply__c/validationRules/Consum_Apply_Flag_Confim.validationRule-meta.xml b/force-app/main/default/objects/Consum_Apply__c/validationRules/Consum_Apply_Flag_Confim.validationRule-meta.xml index 625e2ee..180727f 100644 --- a/force-app/main/default/objects/Consum_Apply__c/validationRules/Consum_Apply_Flag_Confim.validationRule-meta.xml +++ b/force-app/main/default/objects/Consum_Apply__c/validationRules/Consum_Apply_Flag_Confim.validationRule-meta.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>Consum_Apply_Flag_Confim</fullName> - <active>true</active> + <active>false</active> <description>瀛︿細鎻愬墠14澶╃敵璇烽檺鍒�</description> <errorConditionFormula>AND(TEXT(demo_purpose2__c) = '瀛︿細灞曚細', IF( Campaign__c <> null,if( TODAY()-Request_shipping_day__c <= 14,true,false),false))&&or(and(isnew(),isnull(Old_Consum_Apply__c)),text(Status__c)=='鑽夋涓�') @@ -9,6 +9,6 @@ && Not(ischanged(Loaner_cancel_request__c)) && Not(ischanged(Cancel_Reason__c)) -&& ($User.ProfileId <>'00eC800000005Cb')</errorConditionFormula> +&& ($User.ProfileId <>'00e10000000Y3o5')</errorConditionFormula> <errorMessage>鐢宠鎻愪氦蹇呴』鍦�14澶╀互涓婃墠鍙互</errorMessage> </ValidationRule> -- Gitblit v1.9.1