<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Out_of_wh_CanNot_Be_Negativenumber</fullName>
|
<active>true</active>
|
<errorConditionFormula>RecordTypeId = '01210000000kOPR' && Out_of_wh__c < 0
|
&& AssetManageConfirm__c = TRUE
|
&& NOT($User.Batch_User__c)
|
&& $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula>
|
<errorMessage>借出分配数不能为负数</errorMessage>
|
</ValidationRule>
|