From 962519811b7c4be07f30d09e791798b0ea79d3ae Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期三, 08 三月 2023 09:54:02 +0800
Subject: [PATCH] 同步代码
---
force-app/main/default/objects/Repair__c/validationRules/work_location_select_self_or_4RC.validationRule-meta.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/objects/Repair__c/validationRules/work_location_select_self_or_4RC.validationRule-meta.xml b/force-app/main/default/objects/Repair__c/validationRules/work_location_select_self_or_4RC.validationRule-meta.xml
index 11590c7..db826bb 100644
--- a/force-app/main/default/objects/Repair__c/validationRules/work_location_select_self_or_4RC.validationRule-meta.xml
+++ b/force-app/main/default/objects/Repair__c/validationRules/work_location_select_self_or_4RC.validationRule-meta.xml
@@ -19,6 +19,8 @@
Not(Delivered_Product__r.RecordTypeId='01210000000kOPR')
&&
/* 鍙楃悊鍔炰簨澶勫彧鑳介�夎嚜宸辩渷鍐呯殑鍔炰簨澶� 鎴� 鍥涘ぇRC */
+IF(Incharge_Staff__r.Salesdepartment__c='3.瑗垮寳' && Text(On_site_repair__c)='鐜板満淇悊' && Text(work_location_select__c)='鍖椾含鍔炰簨澶�',False,
+IF(Text(Incharge_Staff__r.Province__c)='娴欐睙鐪�' && Text(On_site_repair__c)='鐜板満淇悊' && Text(work_location_select__c)='娴欐睙鍔炰簨澶�',False,
IF(Text(work_location_select__c)='鍖椾含鍔炰簨澶�', False,
IF(Text(work_location_select__c)='娌堥槼鍔炰簨澶�', False,
IF(Text(work_location_select__c)='涓婃捣鍔炰簨澶�', False,
@@ -32,7 +34,7 @@
IF(Text(work_location_select__c)='鍏遍�氬姙浜嬪', False,
IF(Text(work_location_select__c)=Incharge_Staff__r.RepairSalesPoint_Province_China__c, False,
True)
-)))))))))))</errorConditionFormula>
+)))))))))))))</errorConditionFormula>
<errorDisplayField>work_location_select__c</errorDisplayField>
<errorMessage>鍙楃悊鍔炰簨澶勫彧鑳介�夎嚜宸辩渷鍐呯殑鍔炰簨澶� 鎴� 涓冨ぇRC</errorMessage>
</ValidationRule>
--
Gitblit v1.9.1