binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
1
2
3
4
5
6
7
8
9
10
<?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 , &quot;削除&quot;) ,
 ISPICKVAL(Deleted_Reason__c , &quot;&quot;),
$User.Batch_User__c = False)</errorConditionFormula>
    <errorMessage>必须填写失单的理由</errorMessage>
</ValidationRule>