From f0bccccbb88d93ac05010c17d4b2e0cb22a2ce9a Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 20 四月 2023 15:45:11 +0800
Subject: [PATCH] backup0420
---
force-app/main/default/objects/Rental_Apply__c/validationRules/Check_Opd_Plan_XH.validationRule-meta.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/objects/Rental_Apply__c/validationRules/Check_Opd_Plan_XH.validationRule-meta.xml b/force-app/main/default/objects/Rental_Apply__c/validationRules/Check_Opd_Plan_XH.validationRule-meta.xml
index 2dae1e9..b0ffd6a 100644
--- a/force-app/main/default/objects/Rental_Apply__c/validationRules/Check_Opd_Plan_XH.validationRule-meta.xml
+++ b/force-app/main/default/objects/Rental_Apply__c/validationRules/Check_Opd_Plan_XH.validationRule-meta.xml
@@ -5,7 +5,8 @@
<description>鍒嗗崟鎺掗櫎鍦ㄥ
鎵嬪姩鍏宠仈OPD璁″垝鍙凤紝OPD璁″垝鏉ユ簮涓哄浼�
妫�鏌PD璁″垝瀹炴柦鏃ュ繀椤诲湪7澶╋紙鍚級浠ヤ笂鎵嶅彲浠�</description>
- <errorConditionFormula>(ISNEW() || ISCHANGED( OPDPlan__c) ) && Text(OPDPlan__r.OPDType__c)=='瀛︿細' && OPDPlan__r.Campaign__c !=null && OPDPlan__r.Rental_Apply_Flag__c< 7 && ISBLANK(Old_Rental_Apply__c)</errorConditionFormula>
+ <errorConditionFormula>(ISNEW() || ISCHANGED( OPDPlan__c) ) && Text(OPDPlan__r.OPDType__c)=='瀛︿細' && OPDPlan__r.Campaign__c !=null && OPDPlan__r.Rental_Apply_Flag__c< 7 && ISBLANK(Old_Rental_Apply__c) && !SupplementCreated__c &&
+$User.ProfileId <>'00e10000000Y3o5'</errorConditionFormula>
<errorDisplayField>OPDPlan__c</errorDisplayField>
<errorMessage>瀛︿細鐨凮PD璁″垝瀹炴柦鏃ュ湪7澶╋紙鍚級浠ヤ笂鎵嶅彲浠ュ垱寤虹敵璇�</errorMessage>
</ValidationRule>
--
Gitblit v1.9.1