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/isNewCheckAccount.validationRule-meta.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/force-app/main/default/objects/OPDPlan__c/validationRules/isNewCheckAccount.validationRule-meta.xml b/force-app/main/default/objects/OPDPlan__c/validationRules/isNewCheckAccount.validationRule-meta.xml index d0f01cf..a0b71b8 100644 --- a/force-app/main/default/objects/OPDPlan__c/validationRules/isNewCheckAccount.validationRule-meta.xml +++ b/force-app/main/default/objects/OPDPlan__c/validationRules/isNewCheckAccount.validationRule-meta.xml @@ -3,13 +3,13 @@ <fullName>isNewCheckAccount</fullName> <active>true</active> <errorConditionFormula>(isNew()||ISCHANGED(Account_Laboratory__c)) -&& !isBlank(Account_Laboratory__c) && LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HU' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HJ' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HW' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HV' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HY' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HT' -&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '012C600000003HX'</errorConditionFormula> +&& !isBlank(Account_Laboratory__c) && LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000Qfm7' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000QfmR' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000QfmM' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000QfmH' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000QfmC' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000Qfm2' +&& LEFT(Account_Laboratory__r.RecordTypeId, 15) != '01210000000Qfmb'</errorConditionFormula> <errorDisplayField>Account_Laboratory__c</errorDisplayField> <errorMessage>璇峰~鍐欐纭殑绉戝</errorMessage> </ValidationRule> -- Gitblit v1.9.1