lihuijuan
2022-03-10 547cb5fe9bcb0996c95b65e0e93ec4d9a8a90c2e
1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>checkSameProduct</fullName>
    <active>true</active>
    <errorConditionFormula>OR(AND(NOT(ISBLANK(Product_Category1__c)), NOT(ISBLANK(Product_Category2__c)), Product_Category1__c = Product_Category2__c) , AND(NOT(ISBLANK(Product_Category1__c)), NOT(ISBLANK(Product_Category3__c)), Product_Category1__c = Product_Category3__c), AND(NOT(ISBLANK(Product_Category3__c)), NOT(ISBLANK(Product_Category2__c)), Product_Category2__c = Product_Category3__c))</errorConditionFormula>
    <errorMessage>请选择不同的产品区分</errorMessage>
</ValidationRule>