Li Jun
2022-05-10 51fb56f3f5b0dc96d7f93a71f9b61263e303243f
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>