From e3a2cee90bc35685b1ebc88af96c5c65289a55fe Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期三, 29 三月 2023 14:01:21 +0800
Subject: [PATCH] 20230329-询价中的今年相关字段增加和修改+现场修理逻辑+停止hr信息同步用户
---
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) = 'PDF' && (ISNULL(Inspection_StartTime__c) || ISNULL(Inspection_EndTime__c))</errorConditionFormula>
+ <errorConditionFormula>TEXT(Status__c) = 'PDF' && (ISNULL(Inspection_StartTime__c) || ISNULL(Inspection_EndTime__c))
+&&
+$User.Username !='buli@deloitte.com.cn.stagefull'</errorConditionFormula>
<errorDisplayField>Inspection_Date__c</errorDisplayField>
<errorMessage>璇峰畬鏁磋緭鍏ユ娴嬫棩鏃�</errorMessage>
</ValidationRule>
--
Gitblit v1.9.1