<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>CheckService_Contract_Staff</fullName>
|
<active>true</active>
|
<description>除了新建和继续合同,主担当者必填</description>
|
<errorConditionFormula>And(Not( ISNEw() || ISClone() || CreatedDate <= DATETIMEVALUE("2019-07-13 00:00:00") || $Profile.Id = '00e10000000Y3o5' || $Profile.Id !='00E10000001R1E4'),
|
ISBLANK(Service_Contract_Staff__c) )</errorConditionFormula>
|
<errorDisplayField>Service_Contract_Staff__c</errorDisplayField>
|
<errorMessage>请填写主担当者</errorMessage>
|
</ValidationRule>
|