高章伟
2022-03-10 8db20630a2675ca14e03ccdee91c614397b5c964
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>Receive_After_NG_Aborted</fullName>
    <active>true</active>
    <errorConditionFormula>(IsPickval(Inspection_result_after_NG_Final__c, &apos;废弃&apos;) || 
IsPickval(Inspection_result_after_ng__c, &apos;废弃&apos;))
&amp;&amp; IsBlank(Text(Inspection_NG_abord_reason__c))
&amp;&amp; (TransferApply__r.RecordType.DeveloperName != &apos;CenterToAgency&apos; || NOT(ISBLANK(Asset_return_time__c)))</errorConditionFormula>
    <errorDisplayField>Inspection_NG_abord_reason__c</errorDisplayField>
    <errorMessage>发货前NG废弃必须选择NG废弃理由</errorMessage>
</ValidationRule>