<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>isLoanProduct</fullName>
|
<active>true</active>
|
<description>update lxy 20200924 只是提醒消息里添加了【计划出借备品信息】必填的提醒,提前一步提醒,并未真正校验必填,在提交审批的时候才校验</description>
|
<errorConditionFormula>(RecordType.DeveloperName = 'Society' ||
|
RecordType.DeveloperName = 'Training_event' ||
|
RecordType.DeveloperName = 'Service_trainig' ||
|
RecordType.DeveloperName = 'BusinessTraining')
|
&&
|
TEXT(Is_LendProduct__c)='是' &&
|
(
|
ISBLANK(Internal_in_charge_province__c) ||
|
ISBLANK(PlanBackData__c)
|
) && TEXT(Status)='计划提交'</errorConditionFormula>
|
<errorMessage>【是否需要出借备品】选择“是”时,【备品出借省】【计划撤展日期】【计划出借备品信息】必须填写。</errorMessage>
|
</ValidationRule>
|