yangjieke
2022-03-22 3d655e80eec6c770dce06f3d9cf04fffe607f644
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>