公告板
版本库
filestore
活动
搜索
登录
main
/
OlyMEBG
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'master' into LightningUpgradeProject
buli
2023-06-05
e9e1806b0f4b5bae1fc36204ccc5d6fdad52d66f
[OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
Maintenance_Contract_Estimate__c
/
validationRules
/
Discount_Changed_Check.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>Discount_Changed_Check</fullName>
<active>true</active>
<description>报价状态为申请中或批准时,不能更新优惠率(价格)</description>
<errorConditionFormula>AND(OR(ISPICKVAL(Process_Status__c, '申请中'), ISPICKVAL(Process_Status__c, '批准')), OR(ISCHANGED(Discount_Percentage__c), ISCHANGED(Discount_Price__c)))</errorConditionFormula>
<errorMessage>报价状态为申请中或批准时,不能更新优惠率(价格)</errorMessage>
</ValidationRule>