<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>OCM_expected_data_check</fullName>
|
<active>true</active>
|
<description>OCM预测签约日”和“预测发货日”增加判断,当更新这两个日期时要求更新的日期不小于 今天。如果不满足条件提醒。</description>
|
<errorConditionFormula>(ISCHANGED(Close_Forecasted_Date__c) &&
|
NOT(ISBLANK(Close_Forecasted_Date__c)) &&
|
Close_Forecasted_Date__c < TODAY()) ||
|
(ISCHANGED(CloseDate) &&
|
NOT(ISBLANK(CloseDate)) &&
|
CloseDate < TODAY())</errorConditionFormula>
|
<errorMessage>OCSM预测签约日或者预测发货日不能小于今天</errorMessage>
|
</ValidationRule>
|