<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Delete_Reason_Check</fullName>
|
<active>false</active>
|
<errorConditionFormula>And(
|
ISPICKVAL( StageName , "削除") ,
|
ISPICKVAL(Deleted_Reason__c , ""),
|
$User.Batch_User__c = False)</errorConditionFormula>
|
<errorMessage>必须填写失单的理由</errorMessage>
|
</ValidationRule>
|