<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Not_submit_furture_report</fullName>
|
<active>true</active>
|
<errorConditionFormula>AND(
|
ISPICKVAL(Daily_Report_Data_Type__c, "通常"),
|
Text(Status__c) != '作成中',
|
Reported_Date__c > today()) && $User.Id != '00510000005sEEM'</errorConditionFormula>
|
<errorMessage>除了休假和培训以外,不可以提交未来的报告</errorMessage>
|
</ValidationRule>
|