<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>DateReceiptQuestionsAndFailureDate</fullName>
|
<active>true</active>
|
<description>问题联络收到日小于故障发生日,请确认</description>
|
<errorConditionFormula>$Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */
|
&&
|
$Profile.Id != '00e10000000Y3o5' /* 系统管理员 不报错 */
|
&&
|
$User.Id != '00510000000fSYI' /* Batch User 不报错 */
|
&&
|
(DateReceiptQuestions__c < Failure_Occurrence_Date__c) &&
|
DATEVALUE(CreatedDate)>Date(2020,08,13)</errorConditionFormula>
|
<errorMessage>问题联络收到日小于故障发生日,请确认</errorMessage>
|
</ValidationRule>
|