<?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, '已批准') && ( ISCHANGED(AuthorizedStartDate__c) || ISCHANGED(AuthorizedEndDate__c) ||
|
ISCHANGED(Authorizer__c) ||
|
ISCHANGED(Authorizee__c) )</errorConditionFormula>
|
<errorMessage>批准后不能更改数据</errorMessage>
|
</ValidationRule>
|