<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Cannot_Create_Contract</fullName>
|
<active>true</active>
|
<errorConditionFormula>$Profile.Id != '00e10000000dzzG' && $Profile.Id !='00e10000000Y3o5'
|
&& $Profile.Id != '00e10000000dEQx' && $Profile.Id != '00e10000000Nab7' && RecordTypeId == '01210000000QjCN' && isNew()</errorConditionFormula>
|
<errorDisplayField>MaxActivityDate__c</errorDisplayField>
|
<errorMessage>请在SPO系统中新建经销商契约。</errorMessage>
|
</ValidationRule>
|