<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Cannot_Change_When_Received_Confirm</fullName>
|
<active>true</active>
|
<errorConditionFormula>DataMigration_Flag__c = false
|
&& NOT(ISPICKVAL(Change_Point__c, '删除'))
|
&& NOT(ISPICKVAL(Change_Point__c, '新建'))
|
&& NOT(ISBLANK(ReceivingNoteSummary__r.Received_Confirm_Time__c ))
|
&& OR(ISCHANGED(DataConfirmation__c), ISCHANGED(DataConfirmationTime__c))</errorConditionFormula>
|
<errorDisplayField>DataConfirmation__c</errorDisplayField>
|
<errorMessage>收货确认后的收货清单配套一览明细不能变数据确认,请取消收货确认后再操作</errorMessage>
|
</ValidationRule>
|