<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>TrainPersonTypeFor2</fullName>
|
<active>true</active>
|
<description>新品装机 以及 故障预防培训 换环境需改id
|
当 培训实施人员类型 选择FSE时,则 培训实施人(FSE)必填</description>
|
<errorConditionFormula>(TEXT(TrainingPersonnelType__c) == 'FSE' && FSE_TrainingImplementer__c == '' )
|
&&
|
(RecordTypeId == '01210000000RkuM' ||
|
RecordTypeId == '01210000000RkuR')</errorConditionFormula>
|
<errorDisplayField>TrainingPersonnelType__c</errorDisplayField>
|
<errorMessage>当培训实施人员类型 选择FSE时,则培训实施人(FSE)必填。</errorMessage>
|
</ValidationRule>
|