From b5efe5ce37b52863355e59edfad26d5f82d8f47a Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期二, 04 四月 2023 16:25:36 +0800
Subject: [PATCH] 返品验证条件修改

---
 force-app/main/default/objects/OPDPlan__c/validationRules/OPDNoReportMCode.validationRule-meta.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/objects/OPDPlan__c/validationRules/OPDNoReportMCode.validationRule-meta.xml b/force-app/main/default/objects/OPDPlan__c/validationRules/OPDNoReportMCode.validationRule-meta.xml
index dc07174..408c869 100644
--- a/force-app/main/default/objects/OPDPlan__c/validationRules/OPDNoReportMCode.validationRule-meta.xml
+++ b/force-app/main/default/objects/OPDPlan__c/validationRules/OPDNoReportMCode.validationRule-meta.xml
@@ -3,7 +3,8 @@
     <fullName>OPDNoReportMCode</fullName>
     <active>true</active>
     <description>OPD璁″垝鍑哄�熺洰鐨勯�夋嫨妯″瀷鍑哄�熸椂锛屽繀濉啓妯″瀷鍑哄�熼厤濂�</description>
-    <errorConditionFormula>(ISCHANGED( RentalReson__c )|| ISNEW()) &amp;&amp; TEXT( RentalReson__c ) ==&apos;妯″瀷鍑哄��&apos;&amp;&amp; ISBLANK( ModelLending__c)&amp;&amp;TEXT( OPDType__c)!=&apos;瀛︿細&apos;&amp;&amp; ISBLANK(OriginalOpdPlanRental__c)</errorConditionFormula>
+    <errorConditionFormula>(ISCHANGED( RentalReson__c )|| ISNEW()) &amp;&amp; TEXT( RentalReson__c ) ==&apos;妯″瀷鍑哄��&apos;&amp;&amp; ISBLANK( ModelLending__c)&amp;&amp;TEXT( OPDType__c)!=&apos;瀛︿細&apos;&amp;&amp; ISBLANK(OriginalOpdPlanRental__c)&amp;&amp;
+$User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;</errorConditionFormula>
     <errorDisplayField>ModelLending__c</errorDisplayField>
     <errorMessage>鍑哄�熺洰鐨勯�夋嫨妯″瀷鍑哄�熸椂锛屾ā鍨嬪嚭鍊熼厤濂楀繀濉�</errorMessage>
 </ValidationRule>

--
Gitblit v1.9.1