<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Receive_After_Repair_Aborted_Final</fullName>
|
<active>true</active>
|
<description>回收后NG必须选择维修或者废弃</description>
|
<errorConditionFormula>IsPickval(Inspection_result_after_Final__c, 'NG')
|
&& IsBlank(Text(Inspection_result_after_NG_Final__c))
|
&& (TransferApply__r.RecordType.DeveloperName != 'CenterToAgency' || NOT(ISBLANK( Asset_return_time__c )))</errorConditionFormula>
|
<errorDisplayField>Inspection_result_after_NG_Final__c</errorDisplayField>
|
<errorMessage>回收后NG必须选择维修或者废弃</errorMessage>
|
</ValidationRule>
|