Li Jun
2022-04-24 2d5b6ced9bbcb7a30159fd892b39d27a7e048b82
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 = &apos;Maintenance_Quote&apos;, Maintenance_Contract__r.RecordType_DeveloperName__c = &apos;NewMaintenance_Contract&apos;)</errorConditionFormula>
    <errorMessage>服务合同不能新建维修合同报价</errorMessage>
</ValidationRule>