<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>isNotLoanProduct</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)='否' &&
|
(
|
NOT(ISBLANK(PlanBackData__c)) ||
|
NOT(ISBLANK(Internal_in_charge_province__c))
|
)
|
&& TEXT(Status)='计划提交'</errorConditionFormula>
|
<errorMessage>【是否需要出借备品】选择“否”时,【备品出借省】【计划撤展日期】【计划出借备品信息】不能填写。</errorMessage>
|
</ValidationRule>
|