公告板
版本库
filestore
活动
搜索
登录
黄千龙
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
再测试
lihuijuan
2022-03-10
547cb5fe9bcb0996c95b65e0e93ec4d9a8a90c2e
[~huangqianlong/OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
Maintenance_Contract_Estimate__c
/
validationRules
/
contactRecord_check.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>contactRecord_check</fullName>
<active>true</active>
<errorConditionFormula>AND( ISNEW() ,RecordType_DeveloperName__c = 'Maintenance_Quote', Maintenance_Contract__r.RecordType_DeveloperName__c = 'NewMaintenance_Contract')</errorConditionFormula>
<errorMessage>服务合同不能新建维修合同报价</errorMessage>
</ValidationRule>