李金换
2022-03-18 5610019b0290a1839c4006e91a0b5efa9a6e127d
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>NotEditName</fullName>
    <active>true</active>
    <description>不可以修改Name</description>
    <errorConditionFormula>AND(AND(!ISBLANK(Name), ISCHANGED(Name)),OR(Old_Rental_Apply__c != null,SupplementCreated__c = true))</errorConditionFormula>
    <errorDisplayField>Name</errorDisplayField>
    <errorMessage>申请No.不可以修改</errorMessage>
</ValidationRule>