fuyu
2023-01-05 c2c5fc25aa9e92a0ab8ebcea4e01a176359d2f78
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>