From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新
---
force-app/main/default/objects/Rental_Apply__c/validationRules/Request_day_need_to_bigger_than_today.validationRule-meta.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/objects/Rental_Apply__c/validationRules/Request_day_need_to_bigger_than_today.validationRule-meta.xml b/force-app/main/default/objects/Rental_Apply__c/validationRules/Request_day_need_to_bigger_than_today.validationRule-meta.xml
index 4460856..9062259 100644
--- a/force-app/main/default/objects/Rental_Apply__c/validationRules/Request_day_need_to_bigger_than_today.validationRule-meta.xml
+++ b/force-app/main/default/objects/Rental_Apply__c/validationRules/Request_day_need_to_bigger_than_today.validationRule-meta.xml
@@ -13,7 +13,7 @@
(AND( ISPICKVAL(Status__c, "鑽夋涓�") ,Request_shipping_day__c < DATEVALUE(CreatedDate)) ||
AND(ISNEW(),Request_shipping_day__c < TODAY() ))
&&
-AND( ISBLANK(TEXT(Split_Apply_Reason__c)), ISBLANK(Old_Rental_Apply__c) )</errorConditionFormula>
+AND( ISBLANK(TEXT(Split_Apply_Reason__c)), ISBLANK(Old_Rental_Apply__c) ) && SupplementCreated__c = false</errorConditionFormula>
<errorDisplayField>Request_shipping_day__c</errorDisplayField>
<errorMessage>甯屾湜鍒拌揣鏃ュ繀椤绘湭鏉ョ殑鏃ユ湡</errorMessage>
</ValidationRule>
--
Gitblit v1.9.1