<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Sales_Root_ChangeRule</fullName>
|
<active>true</active>
|
<description>状態が敗戦、削除の時および見積決定後は 内貿/外貿、販売ルート を変更することはできません。</description>
|
<errorConditionFormula>AND(
|
OR(Estimation_Decision__c,
|
ISPICKVAL( StageName , '敗戦'),
|
ISPICKVAL( StageName , '削除')
|
),
|
ISCHANGED( Sales_Root__c ))</errorConditionFormula>
|
<errorMessage>状态为失单/取消时,或报价决定后,不可以修改销售渠道。</errorMessage>
|
</ValidationRule>
|