Li Jun
2022-04-19 2f183a6b0a83ec3f7d35375d5d25d200efc2a3e1
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>OPDOPDFollowUp</fullName>
    <active>true</active>
    <description>OPD计划出借目的选择opd时,模型出借型号、对应修理NO、附件说明不用填写(跳过拆单)</description>
    <errorConditionFormula>(ISCHANGED( RentalReson__c )||  ISNEW() ) &amp;&amp; TEXT( RentalReson__c ) ==&apos;OPD&apos;&amp;&amp; ISBLANK(  ModelLending__c)==false &amp;&amp;TEXT( OPDType__c)!=&apos;学会&apos;&amp;&amp; ISBLANK(OriginalOpdPlanRental__c)</errorConditionFormula>
    <errorDisplayField>ModelLending__c</errorDisplayField>
    <errorMessage>OPD计划出借目的选择opd时,模型出借型号不需填写</errorMessage>
</ValidationRule>