Denny chen
2022-05-10 2f3267bcc0e42e09b6f191cad6a0374f4a59b317
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>Bukeyong_check</fullName>
    <active>true</active>
    <errorConditionFormula>(Isnew() || Ischanged(Delivered_Product__c))&amp;&amp; 
left(Delivered_Product__r.Name,3)=&apos;不可用&apos;</errorConditionFormula>
    <errorDisplayField>Delivered_Product__c</errorDisplayField>
    <errorMessage>不可用设备不能新建修理</errorMessage>
</ValidationRule>