<?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))&&
|
left(Delivered_Product__r.Name,3)='不可用'</errorConditionFormula>
|
<errorDisplayField>Delivered_Product__c</errorDisplayField>
|
<errorMessage>不可用设备不能新建修理</errorMessage>
|
</ValidationRule>
|