<?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 , "敗戦") ,
|
( Len( Competitor_Product1__c )=0 ),
|
$User.Batch_User__c = False
|
)</errorConditionFormula>
|
<errorMessage>敗戦時 競合製品を入力してください。</errorMessage>
|
</ValidationRule>
|