binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Competitor_Product</fullName>
    <active>false</active>
    <description>敗戦時は競合の製品は入力必須</description>
    <errorConditionFormula>And(
 ISPICKVAL( StageName , &quot;敗戦&quot;) ,
( Len(  Competitor_Product1__c  )=0 ),
$User.Batch_User__c = False
)</errorConditionFormula>
    <errorMessage>敗戦時 競合製品を入力してください。</errorMessage>
</ValidationRule>