黄千龙
2023-03-08 ca1c0956ec5d16a44bd0a2c10e0e49db37c0fb32
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>OPDTypeXD</fullName>
    <active>true</active>
    <description>OPD计划来源=学会,默认出借目的=演示</description>
    <errorConditionFormula>AND( OR(ISNEW(),TEXT(Status__c) = &apos;草案中&apos;) ,TEXT(RentalReson__c) = &apos;演示&apos;,TEXT(OPDType__c )!=&apos;学会&apos;)</errorConditionFormula>
    <errorMessage>除了学会的出借目的可以选择演示外,其他途径的申请不能选择演</errorMessage>
</ValidationRule>