<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Cannot_Change_When_Cancel</fullName>
|
<active>true</active>
|
<description>已经取消的明细不可以更新,请重新刷新画面再操作。</description>
|
<errorConditionFormula>ISCHANGED(Cancel_Select__c) == false
|
&& Cancel_Select__c = true
|
&& (ISCHANGED(Shipment_request_time2__c)
|
|| ISCHANGED(Pre_inspection_time__c)
|
|| ISCHANGED(Inspection_result__c)
|
|| ISCHANGED(Asset__c)
|
|| ISCHANGED(StockDown_time__c)
|
|| ISCHANGED(StockDown__c)
|
) && ($User.ProfileId <>'00e10000000Y3o5')</errorConditionFormula>
|
<errorMessage>已经取消的明细不可以更新,请重新刷新画面再操作。</errorMessage>
|
</ValidationRule>
|