公告板
版本库
filestore
活动
搜索
登录
黄千龙
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
SFDC-CEZD9T 【委托】 【FY23系统课题12】-已购待货逻辑调整
Liu Cheng
2022-06-10
6c1807da003d3e11c25f6df9e3c40427a18c0073
[~huangqianlong/OlyMEBG.git]
/
force-app
/
main
/
default
/
objects
/
Rental_Apply_Equipment_Set__c
/
validationRules
/
Can_Not_Chagne_Cancel_Reason_ToSubstitut.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>Can_Not_Chagne_Cancel_Reason_ToSubstitut</fullName>
<active>true</active>
<errorConditionFormula>NOT( ISBLANK(Text(PRIORVALUE(Cancel_Reason__c)))) && Text(PRIORVALUE(Cancel_Reason__c)) != '代替品' && Text(Cancel_Reason__c) = '代替品'</errorConditionFormula>
<errorMessage>取消理由不能从别的理由变成代替品</errorMessage>
</ValidationRule>