<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Opportunity_File_Closing_Bid_Date_Check</fullName>
|
<active>true</active>
|
<description>A,B,C,D,E附件一般只会上传其中一种,如果上传A || B时,填写的中标日不能晚于上传附件日期</description>
|
<errorConditionFormula>NOT(ISNULL(Last_opportunity_file__c)) &&
|
(Last_opportunity_file_stage__c = 'A' || Last_opportunity_file_stage__c = 'B') && NOT(ISNULL(Closing_Bid_Date__c)) && Closing_Bid_Date__c > DATEVALUE(Last_opportunity_file_time__c)</errorConditionFormula>
|
<errorDisplayField>Closing_Bid_Date__c</errorDisplayField>
|
<errorMessage>13.中标日不能晚于上传附件日期</errorMessage>
|
</ValidationRule>
|