binxie
2024-01-22 102afa21c115e8c8b9333a326c3d1af08fe76faf
force-app/main/default/objects/Asset/validationRules/Quantity_CanNot_Be_Negativenumber.validationRule-meta.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Quantity_CanNot_Be_Negativenumber</fullName>
    <active>false</active>
    <errorConditionFormula>RecordTypeId = &apos;012C600000003Hv&apos;  &amp;&amp; Quantity &lt; 0 &amp;&amp; AssetManageConfirm__c = TRUE &amp;&amp; $User.ProfileId &lt;&gt;&apos;00e10000000dEQx&apos;  &amp;&amp; NOT($User.Batch_User__c)</errorConditionFormula>
    <active>true</active>
    <errorConditionFormula>RecordTypeId = &apos;01210000000kOPR&apos;  &amp;&amp; Quantity &lt; 0 &amp;&amp; AssetManageConfirm__c = TRUE &amp;&amp; $User.ProfileId &lt;&gt;&apos;00e10000000dEQx&apos;  &amp;&amp; NOT($User.Batch_User__c)</errorConditionFormula>
    <errorMessage>备品数量不可以小于0</errorMessage>
</ValidationRule>