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=&apos;01210000000kOPR&apos;)
 &amp;&amp;
 /* 鍙楃悊鍔炰簨澶勫彧鑳介�夎嚜宸辩渷鍐呯殑鍔炰簨澶� 鎴� 鍥涘ぇRC */
+IF(Incharge_Staff__r.Salesdepartment__c=&apos;3.瑗垮寳&apos; &amp;&amp; Text(On_site_repair__c)=&apos;鐜板満淇悊&apos; &amp;&amp; Text(work_location_select__c)=&apos;鍖椾含鍔炰簨澶�&apos;,False,
+IF(Text(Incharge_Staff__r.Province__c)=&apos;娴欐睙鐪�&apos; &amp;&amp; Text(On_site_repair__c)=&apos;鐜板満淇悊&apos; &amp;&amp; Text(work_location_select__c)=&apos;娴欐睙鍔炰簨澶�&apos;,False,
 IF(Text(work_location_select__c)=&apos;鍖椾含鍔炰簨澶�&apos;, False,
 IF(Text(work_location_select__c)=&apos;娌堥槼鍔炰簨澶�&apos;, False,
 IF(Text(work_location_select__c)=&apos;涓婃捣鍔炰簨澶�&apos;, False,
@@ -32,7 +34,7 @@
 IF(Text(work_location_select__c)=&apos;鍏遍�氬姙浜嬪&apos;, 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