From dec96e2f8b84ea04d773c0c520c39b0822912ee3 Mon Sep 17 00:00:00 2001
From: D C <chenbangcai@prec-tech.com>
Date: 星期五, 26 五月 2023 10:32:20 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG

---
 force-app/main/default/objects/Inspection_Report__c/validationRules/PdfInsDateCheck.validationRule-meta.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/objects/Inspection_Report__c/validationRules/PdfInsDateCheck.validationRule-meta.xml b/force-app/main/default/objects/Inspection_Report__c/validationRules/PdfInsDateCheck.validationRule-meta.xml
index 1ae70c1..5b15331 100644
--- a/force-app/main/default/objects/Inspection_Report__c/validationRules/PdfInsDateCheck.validationRule-meta.xml
+++ b/force-app/main/default/objects/Inspection_Report__c/validationRules/PdfInsDateCheck.validationRule-meta.xml
@@ -2,7 +2,9 @@
 <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>PdfInsDateCheck</fullName>
     <active>true</active>
-    <errorConditionFormula>TEXT(Status__c) = &apos;PDF&apos; &amp;&amp; (ISNULL(Inspection_StartTime__c) || ISNULL(Inspection_EndTime__c))</errorConditionFormula>
+    <errorConditionFormula>TEXT(Status__c) = &apos;PDF&apos; &amp;&amp; (ISNULL(Inspection_StartTime__c) || ISNULL(Inspection_EndTime__c))
+&amp;&amp;
+$User.Username !=&apos;buli@deloitte.com.cn.stagefull&apos;</errorConditionFormula>
     <errorDisplayField>Inspection_Date__c</errorDisplayField>
     <errorMessage>璇峰畬鏁磋緭鍏ユ娴嬫棩鏃�</errorMessage>
 </ValidationRule>

--
Gitblit v1.9.1