binxie
2024-01-17 92d30efcdebfc59500385e018d597a6b6a946075
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>ProductCheck_2M2</fullName>
    <active>false</active>
    <description>2M2只能新建竞品耗材的保有设备</description>
    <errorConditionFormula>(ISNEW() || ISCHANGED(Product2Id)) &amp;&amp; $Profile.Id = &apos;00e10000000u47b&apos; &amp;&amp; Product2.RecordTypeId != &apos;01210000000aMAD&apos;</errorConditionFormula>
    <errorDisplayField>Product2Id</errorDisplayField>
    <errorMessage>请选择竞品-耗材类的产品</errorMessage>
</ValidationRule>