We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21bf761 commit 83514d2Copy full SHA for 83514d2
src/stock-adjustment-creation/adjustment-creation.controller.js
@@ -280,7 +280,7 @@
280
&& lineItem.reason.reasonType === REASON_TYPES.DEBIT) {
281
lineItem.$errors.quantityInvalid = messageService
282
.get('stockAdjustmentCreation.quantityGreaterThanStockOnHand');
283
- } else if (lineItem.quantity > 1000000) {
+ } else if (lineItem.quantity > MAX_INTEGER_VALUE) {
284
lineItem.$errors.quantityInvalid = messageService.get('stockmanagement.numberTooLarge');
285
} else if (lineItem.quantity >= 1) {
286
lineItem.$errors.quantityInvalid = false;
0 commit comments