公告板
版本库
filestore
活动
搜索
登录
main
/
OlyMEBG
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'LEXUpgrade2023-Deloitte'
buli
2023-07-11
0c4796706fc9473d069b620321a54b20a119906c
[OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
OPDPlan__c
/
validationRules
/
OPDTypeXD.validationRule-meta.xml
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>OPDTypeXD</fullName>
<active>true</active>
<description>OPD计划来源=学会,默认出借目的=演示</description>
<errorConditionFormula>AND( OR(ISNEW(),TEXT(Status__c) = '草案中') ,TEXT(RentalReson__c) = '演示',TEXT(OPDType__c )!='学会')</errorConditionFormula>
<errorMessage>除了学会的出借目的可以选择演示外,其他途径的申请不能选择演</errorMessage>
</ValidationRule>