<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Person_In_Charge_Not_Support</fullName>
|
<active>true</active>
|
<errorConditionFormula>(Isnew() || Text(Status__c) = '草案中') &&
|
Onwer_job_category__c = '支援' &&
|
$User.ProfileId <>'00eC800000005Cb' &&
|
$User.ProfileId <>'00eC600000004y5' &&
|
$User.ProfileId <>'00eC600000004y6' &&
|
$User.ProfileId <>'00eC600000004y7' &&
|
$User.ProfileId <>'00eC600000004y9'&&
|
$User.ProfileId <>'00eC600000004yA'</errorConditionFormula>
|
<errorDisplayField>Person_In_Charge__c</errorDisplayField>
|
<errorMessage>助理不能做申请人。</errorMessage>
|
</ValidationRule>
|