<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Need_Agreement_BorrowInfo</fullName>
|
<active>true</active>
|
<errorConditionFormula>RecordTypeId <> "01210000000RHIn"
|
&&
|
ISBLANK(Old_Rental_Apply__c)
|
&&
|
TEXT(demo_purpose2__c) = "协议借用"
|
&&
|
ISBLANK(DB_loaner_request__c)</errorConditionFormula>
|
<errorDisplayField>DB_loaner_request__c</errorDisplayField>
|
<errorMessage>“协议借用"时,必须填写MA本部审核合同编号。</errorMessage>
|
</ValidationRule>
|