<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Out_of_wh_ge_Rental_Count</fullName>
|
<active>true</active>
|
<errorConditionFormula>RecordTypeId = '01210000000kOPR'
|
&& Out_of_wh__c < Rental_Count__c
|
&& AssetManageConfirm__c = TRUE
|
&& (ISCHANGED(Out_of_wh__c) || ISCHANGED(Rental_Count__c))</errorConditionFormula>
|
<errorDisplayField>X147P_reserch_target__c</errorDisplayField>
|
<errorMessage>已借出数不可超过借出_分配_数</errorMessage>
|
</ValidationRule>
|