binxie
2023-06-26 6e4766bc135c30fa9e02a2b527dcdf8fd5eeec8d
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Ocsm_Cannot_Change_Judgment</fullName>
    <active>true</active>
    <description>OCSM判定已完成,不能修改OCSM检测结论的相关信息。</description>
    <errorConditionFormula>Not(RecordType.DeveloperName = &apos;RC&apos; || 
RecordType.DeveloperName = &apos;QISRecordType1&apos; || ( PRIORVALUE(RecordTypeId) = &apos;01210000000RLWc&apos; &amp;&amp; is_aohui_product__c = true) ) &amp;&amp; (ISCHANGED(OCM_judgement__c) || ISCHANGED(next_action__c) || ISCHANGED(QIS_Reply_Comment__c) || ISCHANGED(Reason_bloken__c) || ISCHANGED(Special_follow__c) || ISCHANGED(RC_problem_not_found__c))&amp;&amp;
$User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;</errorConditionFormula>
    <errorDisplayField>isAE_Profile_Date__c</errorDisplayField>
    <errorMessage>OCSM判定已完成,不能修改OCSM检测结论的相关信息。</errorMessage>
</ValidationRule>