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/OPDPlan__c/validationRules/OPDDateCheck.validationRule-meta.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/objects/OPDPlan__c/validationRules/OPDDateCheck.validationRule-meta.xml b/force-app/main/default/objects/OPDPlan__c/validationRules/OPDDateCheck.validationRule-meta.xml index bcfcb63..44560b4 100644 --- a/force-app/main/default/objects/OPDPlan__c/validationRules/OPDDateCheck.validationRule-meta.xml +++ b/force-app/main/default/objects/OPDPlan__c/validationRules/OPDDateCheck.validationRule-meta.xml @@ -6,7 +6,7 @@ (isNew()|| ISCHANGED(OPDPlan_ImplementDate__c )) && ((OPDPlan_ImplementDate__c - TODAY() > 60) || (OPDPlan_ImplementDate__c - TODAY() < 1)) && -$User.ProfileId <>'00eC800000005Cb'&& +$User.ProfileId <>'00e10000000Y3o5'&& ISBLANK(OriginalOpdPlanRental__c)&& SkipValidationRulesAndWorkflows__c != true</errorConditionFormula> <errorDisplayField>OPDPlan_ImplementDate__c</errorDisplayField> <errorMessage>璁″垝瀹炴柦鏃ユ湡鍙兘鍦�60澶╀互鍐呫��</errorMessage> -- Gitblit v1.9.1