| | |
| | | <?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 = '012C600000003Hv' && Quantity < 0 && AssetManageConfirm__c = TRUE && $User.ProfileId <>'00e10000000dEQx' && NOT($User.Batch_User__c)</errorConditionFormula> |
| | | <active>true</active> |
| | | <errorConditionFormula>RecordTypeId = '01210000000kOPR' && Quantity < 0 && AssetManageConfirm__c = TRUE && $User.ProfileId <>'00e10000000dEQx' && NOT($User.Batch_User__c)</errorConditionFormula> |
| | | <errorMessage>备品数量不可以小于0</errorMessage> |
| | | </ValidationRule> |