<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>CIC_Only_Create_AoHui</fullName>
|
<active>true</active>
|
<description>只有CIC能新建奥辉产品的QIS</description>
|
<errorConditionFormula>ISNEW()
|
&&
|
AND(
|
/* 不是 115_CIC 116_CIC窗口 2F5_CIC 2F6_CIC窗口*/
|
Not(OR($Profile.Id = '00e10000000xnoE', $Profile.Id = '00e10000000dCrN', $Profile.Id = '00e10000000xnoJ')),
|
/* 奥辉产品*/
|
is_aohui_product__c
|
)
|
||
|
AND(
|
/* 是 115_CIC 116_CIC窗口 2F5_CIC 2F6_CIC窗口*/
|
OR($Profile.Id = '00e10000000xnoE', $Profile.Id = '00e10000000dCrN',$Profile.Id = '00e10000000xnoJ'),
|
/* 不是奥辉产品*/
|
Not(is_aohui_product__c)
|
)</errorConditionFormula>
|
<errorMessage>只有CIC能新建奥辉产品的QIS(同时CIC只能新建奥辉产品的QIS)</errorMessage>
|
</ValidationRule>
|