binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
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>Not_Off_Estimation_Decision</fullName>
    <active>true</active>
    <description>見積修正権限がONのユーザ以外は、見積決定フラグのOFFができない。</description>
    <errorConditionFormula>And(PRIORVALUE(Estimation_Decision__c) = True, Estimation_Decision__c = False, OR(SAP_Send_OK__c = True, $User.Quote_Correct__c = False))</errorConditionFormula>
    <errorMessage>报价决定后,不能取消报价FLG的勾选</errorMessage>
</ValidationRule>