高章伟
2022-05-16 2e38b5c0b5e2ce302aed60be311f1c56986b1c06
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>cannotChangeAfterApprovalSubAuthorized</fullName>
    <active>true</active>
    <errorConditionFormula>ISPICKVAL(Status__c, &apos;已批准&apos;) &amp;&amp; ( ISCHANGED(AuthorizedStartDate__c) || ISCHANGED(AuthorizedEndDate__c) || 
ISCHANGED(Authorizer__c) || 
ISCHANGED(Authorizee__c) )</errorConditionFormula>
    <errorMessage>批准后不能更改数据</errorMessage>
</ValidationRule>