From e0de9222da210f9c8eb1a9f5400f936a14923e11 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期六, 20 一月 2024 13:16:47 +0800 Subject: [PATCH] addvalidationrule --- force-app/main/default/objects/LastbuyProduct__c/fields/InquiryCode__c.field-meta.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/objects/LastbuyProduct__c/fields/InquiryCode__c.field-meta.xml b/force-app/main/default/objects/LastbuyProduct__c/fields/InquiryCode__c.field-meta.xml index 372e622..66a02b3 100644 --- a/force-app/main/default/objects/LastbuyProduct__c/fields/InquiryCode__c.field-meta.xml +++ b/force-app/main/default/objects/LastbuyProduct__c/fields/InquiryCode__c.field-meta.xml @@ -4,6 +4,25 @@ <deleteConstraint>SetNull</deleteConstraint> <externalId>false</externalId> <label>璇环鍚嶇О</label> + <lookupFilter> + <active>true</active> + <filterItems> + <field>Opportunity.SAP_Send_OK__c</field> + <operation>equals</operation> + <value>False</value> + </filterItems> + <filterItems> + <field>Opportunity.StageName__c</field> + <operation>notEqual</operation> + <value>澶卞崟</value> + </filterItems> + <filterItems> + <field>Opportunity.StageName__c</field> + <operation>notEqual</operation> + <value>鍙栨秷</value> + </filterItems> + <isOptional>true</isOptional> + </lookupFilter> <referenceTo>Opportunity</referenceTo> <relationshipLabel>棰勭暀浜у搧</relationshipLabel> <relationshipName>InquiryCode</relationshipName> -- Gitblit v1.9.1