Problem: MAX_INT (2147483647) is not handled in product and item quantity upon updating item quantity - Scenario 2
Updating the quantity of an existing item to MAX_INT (i.e., 2147483647) is allowed, resulting in integer overflow for the updated quantity of product. The updated quantity of the product is now a negative value (-2147483599) due to integer overflow.
Before Execution of Command in Command Text Box:

After Execution of Command in Command Text Box:

Actual Outcome:
- Item and product quantity is updated
Expected Outcome:
- The update should not happen as the updated quantity of the product is now a negative value due to integer overflow
- Displays error message in the message box so that the user can recover from the error
Problem: MAX_INT (2147483647) is not handled in product and item quantity upon updating item quantity - Scenario 2
Updating the quantity of an existing item to MAX_INT (i.e., 2147483647) is allowed, resulting in integer overflow for the updated quantity of product. The updated quantity of the product is now a negative value (-2147483599) due to integer overflow.
Before Execution of Command in Command Text Box:
After Execution of Command in Command Text Box:
Actual Outcome:
Expected Outcome: