<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>TrainPersonTypeForASE</fullName>
|
<active>true</active>
|
<description>当 培训实施人员类型 选择包含ASE时,则 培训实施人(ASE)以及对应的经销商必填</description>
|
<errorConditionFormula>( (TEXT(TrainingPersonnelType__c) == 'ASE' ||
|
TEXT(TrainingPersonnelType__c) == 'FSE+ASE')&& (ASE_TrainingImplementer__c== '' || Dealers_Training2__c== '') )
|
&&
|
(RecordTypeId == '01210000000RkuM' ||
|
RecordTypeId == '01210000000RkuR')</errorConditionFormula>
|
<errorDisplayField>TrainingPersonnelType__c</errorDisplayField>
|
<errorMessage>当 培训实施人员类型 选择包含ASE时,则 培训实施人(ASE)以及对应的经销商必填</errorMessage>
|
</ValidationRule>
|