binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
10
<?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 = &apos;01210000000kOPR&apos; &amp;&amp; Out_of_wh__c &lt; 0
&amp;&amp; AssetManageConfirm__c = TRUE
&amp;&amp; NOT($User.Batch_User__c) 
&amp;&amp; $User.ProfileId &lt;&gt;&apos;00e10000000dEQx&apos;</errorConditionFormula>
    <errorMessage>借出分配数不能为负数</errorMessage>
</ValidationRule>