公告板
版本库
filestore
活动
搜索
登录
刘成
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
OBSAP
李彤
2022-04-28
df2bc98882909da04e60e542c566e78a1550ef6a
[~liucheng/OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
Repair__c
/
validationRules
/
Dept_isNotActive.validationRule-meta.xml
1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Dept_isNotActive</fullName>
<active>true</active>
<errorConditionFormula>Dept_isActive__c = '无效' && DateValue(CreatedDate) >= DATE(2020,10,13) && Text(Status__c) = '0.申请完毕' && IsChanged(Status__c)</errorConditionFormula>
<errorMessage>该科室已经无效,无法申请修理。</errorMessage>
</ValidationRule>