binxie
2024-01-16 4d3febe8045eb0fa0283af3c53b0c48344b8664d
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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)  == &apos;ASE&apos; ||
TEXT(TrainingPersonnelType__c)  == &apos;FSE+ASE&apos;)&amp;&amp; (ASE_TrainingImplementer__c== &apos;&apos; ||  Dealers_Training2__c== &apos;&apos;) )
 &amp;&amp; 
(RecordTypeId == &apos;01210000000RkuM&apos; ||
RecordTypeId == &apos;01210000000RkuR&apos;)</errorConditionFormula>
    <errorDisplayField>TrainingPersonnelType__c</errorDisplayField>
    <errorMessage>当 培训实施人员类型 选择包含ASE时,则 培训实施人(ASE)以及对应的经销商必填</errorMessage>
</ValidationRule>