From 0a2fc19461a141fbbb2c303142afdee22c72daac Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期六, 20 一月 2024 09:56:08 +0800
Subject: [PATCH] workflow backup0120

---
 force-app/main/default/objects/Fixture_Set_Detail__c/fields/Loaner_category__c.field-meta.xml |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/objects/Fixture_Set_Detail__c/fields/Loaner_category__c.field-meta.xml b/force-app/main/default/objects/Fixture_Set_Detail__c/fields/Loaner_category__c.field-meta.xml
index 4054b4e..ca736a5 100644
--- a/force-app/main/default/objects/Fixture_Set_Detail__c/fields/Loaner_category__c.field-meta.xml
+++ b/force-app/main/default/objects/Fixture_Set_Detail__c/fields/Loaner_category__c.field-meta.xml
@@ -2,12 +2,20 @@
 <CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>Loaner_category__c</fullName>
     <externalId>false</externalId>
-    <formula>AND(
-OR(!ISBLANK(TEXT(Fixture_Set__r.Loaner_categoryI__c)) ,!ISBLANK(TEXT(Fixture_Set__r.Loaner_categoryII__c)))
-, !ISBLANK(Product2__c)
-, Is_Body__c
-,OR(TEXT(Fixture_Set__r.Loaner_categoryI__c) != Product2__r.Loaner_categoryI__c
-,TEXT(Fixture_Set__r.Loaner_categoryII__c) != Product2__r.Loaner_categoryII__c)
+    <formula>OR(
+AND(
+	OR(!ISBLANK(TEXT(Fixture_Set__r.Loaner_categoryI__c)) ,!ISBLANK(TEXT(Fixture_Set__r.Loaner_categoryII__c)) ,!ISBLANK(TEXT(Fixture_Set__r.Product_Type__c)))
+	,!ISBLANK(Product2__c)
+	,Is_Body__c
+	,OR(TEXT(Fixture_Set__r.Loaner_categoryI__c) != Product2__r.Loaner_categoryI__c
+	,TEXT(Fixture_Set__r.Loaner_categoryII__c) != Product2__r.Loaner_categoryII__c
+	,TEXT(Fixture_Set__r.Product_Type__c) != Product2__r.Product_Type__c)
+)
+,
+AND(
+	!ISBLANK(Product2__c)
+	,Is_Body__c != Product2__r.RentalSubject__c 
+)
 )</formula>
     <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
     <label>澶囧搧绫诲瀷涓嶄竴鑷�</label>

--
Gitblit v1.9.1