<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Lost_or_Cancel_PCL_cannot_Check_WIN</fullName>
|
<active>true</active>
|
<errorConditionFormula>AND(
|
$User.Batch_User__c = False,
|
OR(ISPICKVAL(StageName, "敗戦"),ISPICKVAL(StageName, "削除")),SAP_Send_OK__c=TRUE)</errorConditionFormula>
|
<errorMessage>如果状态1是取消/失单,不允许做WIN</errorMessage>
|
</ValidationRule>
|